AutoTag Plugin

Last modified by Admin on 2017/10/05 15:36

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

XWiki Development Team

Active Installs4
Rating
Rate!
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). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

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 9.8.1):

  • org.xwiki.platform:xwiki-platform-oldcore 9.8.1
Tags:
Created by XWikiGuest on 2012/05/19 04:39
    

Get Connected