org.apache.lucene.analysis.sk
Class SlovakStopAnalyzer

java.lang.Object
  extended byorg.apache.lucene.analysis.Analyzer
      extended byorg.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
 

Field Detail

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.

Constructor Detail

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.

Method Detail

tokenStream

public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
                                                          java.io.Reader reader)
Filters LowerCaseTokenizer with StopFilter.