org.crosswire.jsword.index.lucene.analysis
Class GreekLuceneAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.crosswire.jsword.index.lucene.analysis.AbstractBookAnalyzer
org.crosswire.jsword.index.lucene.analysis.GreekLuceneAnalyzer
public class GreekLuceneAnalyzer
- extends AbstractBookAnalyzer
Uses org.apache.lucene.analysis.el.GreekAnalyzer to do lowercasing and stopword(off by default).
Stemming not implemented yet
- Author:
- Sijo Cherian [sijocherian at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Field Summary |
private org.apache.lucene.analysis.el.GreekAnalyzer |
myAnalyzer
|
Methods inherited from class org.apache.lucene.analysis.Analyzer |
getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setPreviousTokenStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myAnalyzer
private org.apache.lucene.analysis.el.GreekAnalyzer myAnalyzer
GreekLuceneAnalyzer
public GreekLuceneAnalyzer()
tokenStream
public final org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
Reader reader)
- Specified by:
tokenStream
in class org.apache.lucene.analysis.Analyzer
setStopWords
public void setStopWords(String[] stopWords)
- Overrides:
setStopWords
in class AbstractBookAnalyzer
setDoStopWords
public void setDoStopWords(boolean doIt)
- Overrides:
setDoStopWords
in class AbstractBookAnalyzer