Feature suggestion: "add tag" popup should suggest likely tags based on topic content

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 лайка