tag_blue_addA deprecated plugin which extracts a set of tags from a text.
TypeJAR
Category
Developed by

XWiki Development Team

Active Installs4
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

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:

{{velocity}}
#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 13.8):

  • org.xwiki.platform:xwiki-platform-oldcore 13.8
Tags:
    

Get Connected