Code Monkey home page Code Monkey logo

Comments (2)

gaogaotiantian avatar gaogaotiantian commented on July 18, 2024

猜标签是个难度挺大的事情。最常用这个事情你是每次都重新算一下么?因为现在标签是以纯文本形式保存在note里的,每次都需要单独去读,没有一个query系统。

还有,你的标签加到哪里呢?最后?如果用户把标签写到了中间怎么办呢?在没有一个比较靠谱的推荐机制的情况下,在这里加三个可选项,能给用户带来的收获有没有可能是小于麻烦的。

from biliscope.

F-park avatar F-park commented on July 18, 2024

猜标签是个难度挺大的事情。最常用这个事情你是每次都重新算一下么?因为现在标签是以纯文本形式保存在note里的,每次都需要单独去读,没有一个query系统。

还有,你的标签加到哪里呢?最后?如果用户把标签写到了中间怎么办呢?在没有一个比较靠谱的推荐机制的情况下,在这里加三个可选项,能给用户带来的收获有没有可能是小于麻烦的。

猜用户的标签这个可能得从用户最常看的 up 进行分析,不过感觉难度太大带来的作用太小没有必要做了。(只有用户一个标签都没有定义过时才推荐默认标签)

最常用的标签我觉得每次重新算一遍开销不是很大吧(感觉用户可能也就最多用到几个标签)

标签的加入可以直接用 js 获取光标在 textarea 框(备注框)的位置(用户可能已经鼠标左键选中了部分文本)然后直接覆盖吧,我觉得这样可能会比较符合用户操作逻辑。

from biliscope.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.