Construct a token stream filtering the given input.
If is an instance of {@link CharArraySet} (true if
was used to construct the set) it will be directly used
and will be ignored since
directly controls case sensitivity.
If is not an instance of {@link CharArraySet},
a new CharArraySet will be constructed and will be
used to specify the case sensitivity of that set.
Namespace: Lucene.Net.AnalysisCopyC#
stopWords
CopyC#
makeStopSet()
CopyC#
ignoreCase
CopyC#
CharArraySet
CopyC#
stopWords
CopyC#
ignoreCase
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public StopFilter( bool enablePositionIncrements, TokenStream input, Hashtable stopWords, bool ignoreCase ) |
Visual Basic |
---|
Public Sub New ( _ enablePositionIncrements As Boolean, _ input As TokenStream, _ stopWords As Hashtable, _ ignoreCase As Boolean _ ) |
Visual C++ |
---|
public: StopFilter( bool enablePositionIncrements, TokenStream^ input, Hashtable^ stopWords, bool ignoreCase ) |
Parameters
- enablePositionIncrements
- Type: System..::..Boolean
true if token positions should record the removed stop words
- input
- Type: Lucene.Net.Analysis..::..TokenStream
Input TokenStream
- stopWords
- Type: System.Collections..::..Hashtable
The set of Stop Words.
- ignoreCase
- Type: System..::..Boolean
-Ignore case when stopping.