org.apache.lucene.analysis.cjk
Class CJKAnalyzer
Filters CJKTokenizer with StopFilter.
static String[] | STOP_WORDS - An array containing some common English words that are not usually
useful for searching and some double-byte interpunctions.
|
CJKAnalyzer() - Builds an analyzer which removes words in
STOP_WORDS .
|
CJKAnalyzer(String[] stopWords) - Builds an analyzer which removes words in the provided array.
|
STOP_WORDS
public static final String[] STOP_WORDS
An array containing some common English words that are not usually
useful for searching and some double-byte interpunctions.
CJKAnalyzer
public CJKAnalyzer()
Builds an analyzer which removes words in
STOP_WORDS
.
CJKAnalyzer
public CJKAnalyzer(String[] stopWords)
Builds an analyzer which removes words in the provided array.
stopWords
- stop word array
tokenStream
public final TokenStream tokenStream(String fieldName,
Reader reader)
get token stream from input
- tokenStream in interface Analyzer
fieldName
- lucene field namereader
- input reader
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.