AutoTag Plugin

Last modified by Admin on 2024/07/22 00:07

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

XWiki Development Team

Active Installs6
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

This plugin has been removed from XWiki Standard in 15.6 and moved to XWiki Attic. The main reason was that it has not been supported for many years and was using some old techbology (plugin).

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

  • org.xwiki.platform:xwiki-platform-oldcore 15.5.5

Get Connected