功能建议:“添加标签”弹窗应根据主题内容推荐可能的标签

With my slightly OCD tendency, I often trawl through topics adding tags.

Opening the tag drop-down shows five popular tags (I assume, the most popular?).

Here’s an idea - how about making the suggested tags a bit smarter using some basic machine learning? I’d suggest the following:

Background Job

Discourse runs a background job that analyses the text and tags of recent topics using a Naive Bayes Classifier

  • The background job uses existing tags on topics to build a model. It learns which tags are likely to be relevant to text content.

  • For topics without tags, the background job runs the text through the built model to find any tags with a high probability of applying to the topic. These are persisted in the DB as “suggested tags” for that topic.

Suggested Tag UX

When a user edits the title/tags, the UI shows any strong tag suggestions, and the user can click on a suggested tag to add it to the topic

8 个赞

Sounds like a very interesting plugin to me :relaxed: not sure I think this fits into core quite now.

4 个赞

非常期待这一功能,例如在高分辨率显示器上,于草稿界面的右侧显示“建议标签”。

  • 选择分类后,即显示标签建议
  • 同时展示必需的标签组合

对于更关注标签而非分类的用户来说,这是一个有趣的想法。

3 个赞

如果实施这样的功能,标签(Discourse 正大力推广的功能)的使用率将会更高。

2 个赞