org.apache.lucene.analysis.sk
Class SlovakStopAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.sk.SlovakStopAnalyzer
- public final class SlovakStopAnalyzer
- extends org.apache.lucene.analysis.Analyzer
Filters LetterTokenizer with LowerCaseFilter and StopFilter.
|
Field Summary |
static java.lang.String[] |
SLOVAK_STOP_WORDS
An array containing some common English words that are not usually useful
for searching. |
|
Constructor Summary |
SlovakStopAnalyzer()
Builds an analyzer which removes words in ENGLISH_STOP_WORDS. |
SlovakStopAnalyzer(java.lang.String[] stopWords)
Builds an analyzer which removes words in the provided array. |
|
Method Summary |
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String fieldName,
java.io.Reader reader)
Filters LowerCaseTokenizer with StopFilter. |
| Methods inherited from class org.apache.lucene.analysis.Analyzer |
tokenStream |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SLOVAK_STOP_WORDS
public static final java.lang.String[] SLOVAK_STOP_WORDS
- An array containing some common English words that are not usually useful
for searching.
SlovakStopAnalyzer
public SlovakStopAnalyzer()
- Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
SlovakStopAnalyzer
public SlovakStopAnalyzer(java.lang.String[] stopWords)
- Builds an analyzer which removes words in the provided array.
tokenStream
public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
java.io.Reader reader)
- Filters LowerCaseTokenizer with StopFilter.