Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » analysis » fr » [javadoc | source]
org.apache.lucene.analysis.fr
public class: ElisionFilter [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.TokenStream
      org.apache.lucene.analysis.TokenFilter
         org.apache.lucene.analysis.fr.ElisionFilter
Removes elisions from a token stream. For example, "l'avion" (the plane) will be tokenized as "avion" (plane).

Note that StandardTokenizer sees " ' " as a space, and cuts it out.

Fields inherited from org.apache.lucene.analysis.TokenFilter:
input
Constructor:
 protected ElisionFilter(TokenStream input) 
    Constructs an elision filter with standard stop words
 public ElisionFilter(TokenStream input,
    Set articles) 
    Constructs an elision filter with a Set of stop words
 public ElisionFilter(TokenStream input,
    String[] articles) 
    Constructs an elision filter with an array of stop words
Method from org.apache.lucene.analysis.fr.ElisionFilter Summary:
next,   setArticles
Methods from org.apache.lucene.analysis.TokenFilter:
close
Methods from org.apache.lucene.analysis.TokenStream:
close,   next,   next,   reset
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.fr.ElisionFilter Detail:
 public Token next() throws IOException 
    Returns the next input Token whith termText() without elisioned start
 public  void setArticles(Set articles)