Example usage for Java org.apache.lucene.analysis.cn.smart SmartChineseAnalyzer fields, constructors, methods, implement or subclass
The text is from its open source code.
SmartChineseAnalyzer() Create a new SmartChineseAnalyzer, using the default stopword list. | |
SmartChineseAnalyzer(boolean useDefaultStopWords) Create a new SmartChineseAnalyzer, optionally using the default stopword list. | |
SmartChineseAnalyzer(CharArraySet stopWords) Create a new SmartChineseAnalyzer, using the provided Set of stopwords. |
CharArraySet | getDefaultStopSet() Returns an unmodifiable instance of the default stop-words set. |
TokenStream | tokenStream(final String fieldName, final Reader reader) Returns a TokenStream suitable for fieldName , tokenizing the contents of reader . |