| java.lang.Object org.contineo.core.text.analyze.WordRanker org.contineo.core.text.analyze.Analyzer
Analyzer | public class Analyzer extends WordRanker (Code) | | author: Michael Scholz author: Alessandro Gasparini |
Field Summary | |
protected static Log | log |
Constructor Summary | |
| Analyzer(String language, String[] stopwords) Creates a new instance of Analyzer. | | Analyzer(String language, int len) Creates a new instance of Analyzer. |
log | protected static Log log(Code) | | |
Analyzer | Analyzer(String language, String[] stopwords)(Code) | | Creates a new instance of Analyzer.
Parameters: language - Two characters language ISO 639-1 Parameters: stopwords - Array of user specific stop words. |
Analyzer | Analyzer(String language, int len)(Code) | | Creates a new instance of Analyzer.
Parameters: language - Two characters language ISO 639-1 Parameters: len - Minimum length of words which should analyzed. |
analyze | public void analyze(String text) throws Exception(Code) | | This method analyzes a given text an fills a hitlist.
Parameters: text - Text which should analyzed. throws: Exception - In case of exception during Stemmer instantation |
|
|