CJKAnalyzerpublic class CJKAnalyzer extends Analyzer Filters CJKTokenizer with StopFilter. |
Fields Summary |
---|
public static final String[] | STOP_WORDSAn array containing some common English words that are not usually
useful for searching and some double-byte interpunctions. | private Set | stopTablestop word list |
Constructors Summary |
---|
public CJKAnalyzer()Builds an analyzer which removes words in {@link #STOP_WORDS}.
//~ Constructors -----------------------------------------------------------
stopTable = StopFilter.makeStopSet(STOP_WORDS);
| public CJKAnalyzer(String[] stopWords)Builds an analyzer which removes words in the provided array.
stopTable = StopFilter.makeStopSet(stopWords);
|
|