C# Class Lucene.Net.Analysis.Util.ElisionFilter

Removes elisions from a TokenStream. For example, "l'avion" (the plane) will be tokenized as "avion" (plane).
Inheritance: TokenFilter
Mostra file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
ElisionFilter ( TokenStream input, CharArraySet articles ) : Lucene.Net.Analysis.Tokenattributes

Constructs an elision filter with a Set of stop words

IncrementToken ( ) : bool

Increments the TokenStream with a CharTermAttribute without elisioned start

Method Details

ElisionFilter() public method

Constructs an elision filter with a Set of stop words
public ElisionFilter ( TokenStream input, CharArraySet articles ) : Lucene.Net.Analysis.Tokenattributes
input TokenStream the source
articles CharArraySet a set of stopword articles
return Lucene.Net.Analysis.Tokenattributes

IncrementToken() public method

Increments the TokenStream with a CharTermAttribute without elisioned start
public IncrementToken ( ) : bool
return bool