org.apache.lucene.analysis.fr
public final class FrenchAnalyzer extends Analyzer
Version: $Id: FrenchAnalyzer.java 178832 2005-05-27 23:00:49Z dnaber $
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(Hashtable 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.
|
Deprecated:
Builds an analyzer with the given stop words.Throws: IOException
Throws: IOException
Returns: A TokenStream build from a StandardTokenizer filtered with StandardFilter, StopFilter, FrenchStemFilter and LowerCaseFilter