Parsing text to automatically create tags in Rails

I plan on using the act_as_taggable_on gem for my Post class. However, I would like to extract and create new tags from the content of the message.

For example, if the message heading is "How do I solve this problem with algebra", I would like to create a new algebra tag (but not for other words).

Is there a gem to do this, and if not, how do I do it? (i.e. detect sensible words to create tags)

Thanks.

+4
source share
1 answer
+5
source

Source: https://habr.com/ru/post/1389593/


All Articles