public class ArabicLuceneAnalyzer extends AbstractBookAnalyzer
TokenStream
is built from a
ArabicLetterTokenizer
filtered with LowerCaseFilter
,
ArabicNormalizationFilter
, ArabicStemFilter
(optional) and
Arabic StopFilter
(optional).The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private org.apache.lucene.util.Version |
matchVersion |
book, doStemming, doStopWords, stopSet
Constructor and Description |
---|
ArabicLuceneAnalyzer() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
reusableTokenStream(String fieldName,
Reader reader) |
org.apache.lucene.analysis.TokenStream |
tokenStream(String fieldName,
Reader reader) |
getBook, getDoStopWords, setBook, setDoStemming, setDoStopWords, setStopWords
public final org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
tokenStream
in class org.apache.lucene.analysis.Analyzer
public org.apache.lucene.analysis.TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException
reusableTokenStream
in class org.apache.lucene.analysis.Analyzer
IOException