Package com.xpn.xwiki.plugin.autotag
Class TagCloud
- java.lang.Object
-
- com.xpn.xwiki.plugin.autotag.TagCloud
-
@Deprecated public class TagCloud extends Object
Deprecated.the entire Autotag plugin is deprecated, along with its data structuresData structure used by theAutoTagPlugin
, holding information about a collection of tags appearing the most in a collection of documents.- Version:
- $Id: a64ae68b60dd714c85fb02aeab943306121b774f $
-
-
Constructor Summary
Constructors Constructor Description TagCloud()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,Integer>
getCountedWordMap()
Deprecated.String
getHtml()
Deprecated.Get the HTML markup to represent this tag cloud.Map<String,Integer>
getStemmedWordFreqMap()
Deprecated.Map<String,Map<String,Integer>>
getStemmedWordMap()
Deprecated.Set<Tag>
getTags()
Deprecated.String
getText()
Deprecated.String[]
getWordList()
Deprecated.void
setCountedWordMap(Map<String,Integer> countedWordMap)
Deprecated.void
setStemmedWordFreqMap(Map<String,Integer> stemmedWordFreqMap)
Deprecated.void
setStemmedWordMap(Map<String,Map<String,Integer>> stemmedWordMap)
Deprecated.void
setTags(Set<Tag> tags)
Deprecated.void
setText(String text)
Deprecated.void
setWordList(String[] wordList)
Deprecated.
-
-
-
Method Detail
-
getHtml
public String getHtml()
Deprecated.Get the HTML markup to represent this tag cloud.- Returns:
- HTML markup
-
setText
public void setText(String text)
Deprecated.- Parameters:
text
- the text to analyze- See Also:
text
-
getWordList
public String[] getWordList()
Deprecated.- Returns:
- the tokenized text
- See Also:
wordList
-
setWordList
public void setWordList(String[] wordList)
Deprecated.- Parameters:
wordList
- the tokenized text- See Also:
wordList
-
getCountedWordMap
public Map<String,Integer> getCountedWordMap()
Deprecated.- Returns:
- map of
token->number of appearances
count for each token present in the text - See Also:
countedWordMap
-
setCountedWordMap
public void setCountedWordMap(Map<String,Integer> countedWordMap)
Deprecated.- Parameters:
countedWordMap
- map oftoken->number of appearances
count for each token present in the text- See Also:
countedWordMap
-
getStemmedWordMap
public Map<String,Map<String,Integer>> getStemmedWordMap()
Deprecated.- Returns:
- token groups
- See Also:
stemmedWordMap
-
setStemmedWordMap
public void setStemmedWordMap(Map<String,Map<String,Integer>> stemmedWordMap)
Deprecated.- Parameters:
stemmedWordMap
- token groups- See Also:
stemmedWordMap
-
getStemmedWordFreqMap
public Map<String,Integer> getStemmedWordFreqMap()
Deprecated.- Returns:
- map of lead words and their frequencies
- See Also:
stemmedWordFreqMap
-
setStemmedWordFreqMap
public void setStemmedWordFreqMap(Map<String,Integer> stemmedWordFreqMap)
Deprecated.- Parameters:
stemmedWordFreqMap
- map of lead words and their frequencies- See Also:
stemmedWordFreqMap
-
-