AutoTag Plugin
A deprecated plugin which extracts a set of tags from a text. |
Type | JAR |
Category | |
Developed by | |
Active Installs | 6 |
Rating | |
License | GNU Lesser General Public License 2.1 |
Table of contents
Description
Analyze a piece of text, and extract the most common words into a "tag cloud". In detail, this splits the text into tokens, counts how many times each token appears in the text, removes the "stop-words", joins together words from the same root (stemming), and prepares an HTML tag cloud which can be printed in the response. Only supports English and French.
Usage:
#set ($autotag = $xwiki.autotag)
#set ($docName = 'Some.Document')
#set ($text = $xwiki.getDocument($docName).content)
#set ($tagCloud = $autotag.generateTagCloud($text, 'en'))
= Most frequent words in the document //$docName// =
{{html clean="false"}}$tagCloud.html{{/html}}
{{/velocity}}
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).
You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.
Dependencies
Dependencies for this extension (org.xwiki.platform:xwiki-platform-autotag 15.5.5):
- org.xwiki.platform:xwiki-platform-oldcore 15.5.5