| java.lang.Object org.apache.lucene.analysis.Analyzer org.apache.lucene.analysis.fr.FrenchAnalyzer
FrenchAnalyzer | final public class FrenchAnalyzer extends Analyzer (Code) | | Analyzer for French language. Supports an external list of stopwords (words that
will not be indexed at all) and an external list of exclusions (word that will
not be stemmed, but indexed).
A default set of stopwords is used unless an alternative list is specified, the
exclusion list is empty by default.
version: $Id: FrenchAnalyzer.java 564236 2007-08-09 15:21:19Z gsingers $ |
FRENCH_STOP_WORDS | final public static String[] FRENCH_STOP_WORDS(Code) | | Extended list of typical French stopwords.
|
FrenchAnalyzer | public FrenchAnalyzer(String[] stopwords)(Code) | | Builds an analyzer with the given stop words.
|
setStemExclusionTable | public void setStemExclusionTable(String[] exclusionlist)(Code) | | Builds an exclusionlist from an array of Strings.
|
setStemExclusionTable | public void setStemExclusionTable(Hashtable exclusionlist)(Code) | | Builds an exclusionlist from a Hashtable.
|
setStemExclusionTable | public void setStemExclusionTable(File exclusionlist) throws IOException(Code) | | Builds an exclusionlist from the words contained in the given file.
throws: IOException - |
tokenStream | final public TokenStream tokenStream(String fieldName, Reader reader)(Code) | | Creates a TokenStream which tokenizes all the text in the provided Reader.
A TokenStream build from a StandardTokenizer filtered withStandardFilter, StopFilter, FrenchStemFilter and LowerCaseFilter |
|
|