@Deprecated public class AutoTagPluginAPI extends PluginApi<AutoTagPlugin>
Constructor and Description |
---|
AutoTagPluginAPI(AutoTagPlugin plugin,
XWikiContext context)
Deprecated.
API constructor.
|
Modifier and Type | Method and Description |
---|---|
TagCloud |
generateTagCloud(String text,
int lang)
Deprecated.
Analyze a piece of text, and extract the most common words into a "tag cloud".
|
TagCloud |
generateTagCloud(String text,
String lang)
Deprecated.
Analyze a piece of text, and extract the most common words into a "tag cloud".
|
getInternalPlugin, getProtectedPlugin, setPlugin
convert, convert, convert, convertAttachments, getAuthorizationManager, getXWikiContext, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
public AutoTagPluginAPI(AutoTagPlugin plugin, XWikiContext context)
plugin
- The wrapped plugin object.context
- Context of the request.public TagCloud generateTagCloud(String text, int lang)
text
- the text to analyzelang
- the language in which the text is written, 0
for French or 1
for Englishpublic TagCloud generateTagCloud(String text, String lang)
text
- the text to analyzelang
- the language in which the text is written, one of en
or fr
Copyright © 2004–2019 XWiki. All rights reserved.