org.apache.lucene.analysis.fr
public final class FrenchAnalyzer extends Analyzer
Version: $Id: FrenchAnalyzer.java 472959 2006-11-09 16:21:50Z yonik $
Field Summary | |
---|---|
static String[] | FRENCH_STOP_WORDS
Extended list of typical French stopwords. |
Constructor Summary | |
---|---|
FrenchAnalyzer()
Builds an analyzer with the default stop words (FRENCH_STOP_WORDS). | |
FrenchAnalyzer(String[] stopwords)
Builds an analyzer with the given stop words. | |
FrenchAnalyzer(File stopwords)
Builds an analyzer with the given stop words. |
Method Summary | |
---|---|
void | setStemExclusionTable(String[] exclusionlist)
Builds an exclusionlist from an array of Strings. |
void | setStemExclusionTable(Hashtable exclusionlist)
Builds an exclusionlist from a Hashtable. |
void | setStemExclusionTable(File exclusionlist)
Builds an exclusionlist from the words contained in the given file. |
TokenStream | tokenStream(String fieldName, Reader reader)
Creates a TokenStream which tokenizes all the text in the provided Reader.
|
Throws: IOException
Throws: IOException
Returns: A TokenStream build from a StandardTokenizer filtered with StandardFilter, StopFilter, FrenchStemFilter and LowerCaseFilter