Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » analysis » fr » [javadoc | source]
org.apache.lucene.analysis.fr
public final class: FrenchAnalyzer [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.Analyzer
      org.apache.lucene.analysis.fr.FrenchAnalyzer
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.
Field Summary
public static final  String[] FRENCH_STOP_WORDS    Extended list of typical French stopwords. 
Constructor:
 public FrenchAnalyzer() 
 public FrenchAnalyzer(String[] stopwords) 
    Builds an analyzer with the given stop words.
 public FrenchAnalyzer(File stopwords) throws IOException 
    Builds an analyzer with the given stop words.
    Throws:
    IOException -
Method from org.apache.lucene.analysis.fr.FrenchAnalyzer Summary:
setStemExclusionTable,   setStemExclusionTable,   setStemExclusionTable,   tokenStream
Methods from org.apache.lucene.analysis.Analyzer:
getPositionIncrementGap,   getPreviousTokenStream,   reusableTokenStream,   setPreviousTokenStream,   tokenStream
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.fr.FrenchAnalyzer Detail:
 public  void setStemExclusionTable(String[] exclusionlist) 
    Builds an exclusionlist from an array of Strings.
 public  void setStemExclusionTable(Hashtable exclusionlist) 
    Builds an exclusionlist from a Hashtable.
 public  void setStemExclusionTable(File exclusionlist) throws IOException 
    Builds an exclusionlist from the words contained in the given file.
 public final TokenStream tokenStream(String fieldName,
    Reader reader) 
    Creates a TokenStream which tokenizes all the text in the provided Reader.