| java.lang.Object org.contineo.core.text.analyze.WordRanker
All known Subclasses: org.contineo.core.text.analyze.Analyzer,
WordRanker | abstract public class WordRanker (Code) | | Provides functionality like getting the top most words in a document.
author: Michael Scholz |
minlen | protected int minlen(Code) | | |
wordcount | protected long wordcount(Code) | | |
getMinlen | public int getMinlen()(Code) | | |
getTopWords | public Collection getTopWords(int hits)(Code) | | Returns the top words of an analyzed document.
Parameters: hits - - Number of top words to be returned. |
getWordCount | public long getWordCount()(Code) | | Number of words in the analyzed document. |
relevantWords | public int relevantWords()(Code) | | Number of entries in the hitlist containing the topwords. |
setMinlen | public void setMinlen(int minlen)(Code) | | Sets the minimum length of words which should be analyzed.
Parameters: minlen - |
|
|