|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.analysis.Analyzer
org.eaglei.lexical.lucene.PorterStemAnalyzer
public class PorterStemAnalyzer
Subclass of Lucene's StandardAnalyzer that adds the PorterStemFilter
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.analysis.Analyzer |
|---|
overridesTokenStreamMethod |
| Constructor Summary | |
|---|---|
PorterStemAnalyzer()
Creates a new PorterStemAnalyzer. |
|
PorterStemAnalyzer(java.util.Set customStopWords)
Creates a new PorterStemAnalyzer with a custom set of stop words. |
|
| Method Summary | |
|---|---|
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String fieldName,
java.io.Reader reader)
|
| Methods inherited from class org.apache.lucene.analysis.Analyzer |
|---|
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setOverridesTokenStreamMethod, setPreviousTokenStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PorterStemAnalyzer()
public PorterStemAnalyzer(java.util.Set customStopWords)
customStopWords - Custom stop words. Will be added to the standard
English stop words.| Method Detail |
|---|
public final org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
java.io.Reader reader)
tokenStream in class org.apache.lucene.analysis.Analyzer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||