| java.lang.Object org.apache.lucene.analysis.Analyzer org.apache.lucene.analysis.cjk.CJKAnalyzer
CJKAnalyzer | public class CJKAnalyzer extends Analyzer (Code) | | Filters CJKTokenizer with StopFilter.
author: Che, Dong |
Field Summary | |
final public static String[] | STOP_WORDS An array containing some common English words that are not usually
useful for searching and some double-byte interpunctions. |
STOP_WORDS | final public static String[] STOP_WORDS(Code) | | An array containing some common English words that are not usually
useful for searching and some double-byte interpunctions.
|
CJKAnalyzer | public CJKAnalyzer(String[] stopWords)(Code) | | Builds an analyzer which removes words in the provided array.
Parameters: stopWords - stop word array |
tokenStream | final public TokenStream tokenStream(String fieldName, Reader reader)(Code) | | get token stream from input
Parameters: fieldName - lucene field name Parameters: reader - input reader TokenStream |
|
|