This software automatically tags selected text and creates links to the tagged versions of the words, making it easy to access related content.
Auto_tagify offers two operations: one returns the selected text with embedded links while the other generates a list of taggable words leaving out the stop words. You can make the most of the first option by adding some text, but it is optional.
Besides, several parameters are available for setting paths for tag links and CSS classes for links. For example, you can set the tag routing to a relative path such as /tags/
Here's how to call the generate function:
from auto_tagify import AutoTagify
t = AutoTagify()
t.text = "This is the text to display!"
t.link = "/tags"
t.css = "tagged"
t.generate()
Auto_tagify auto-generates the tags that match your criteria. If no link is set, the default path is "/< tagged word >", such as "/text."
The second operation generates only a list of taggable words from the text, and it can be invoked by calling:
t.text = "This text is taggable taggable kittens"
t.tag_list()
The result is a list containing taggable words from the text: ['text', 'taggable', 'taggable', 'kittens']
Auto_tagify's two operations are enough to keep you updated with tag counts and references to text in your application. It currently only works with English.
Version 0.1: N/A