Class JapanesePartOfSpeechStopFilter
Removes tokens that match a set of part-of-speech tags.
Inheritance
System.Object
JapanesePartOfSpeechStopFilter
Implements
IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.Ja
Assembly: Lucene.Net.Analysis.Kuromoji.dll
Syntax
public sealed class JapanesePartOfSpeechStopFilter : FilteringTokenFilter, IDisposable
Constructors
| Improve this Doc View SourceJapanesePartOfSpeechStopFilter(LuceneVersion, TokenStream, ISet<String>)
Create a new JapanesePartOfSpeechStopFilter.
Declaration
public JapanesePartOfSpeechStopFilter(LuceneVersion version, TokenStream input, ISet<string> stopTags)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | The Lucene match version. |
TokenStream | input | The TokenStream to consume. |
ISet<System.String> | stopTags | The part-of-speech tags that should be removed. |
JapanesePartOfSpeechStopFilter(LuceneVersion, Boolean, TokenStream, ISet<String>)
Declaration
public JapanesePartOfSpeechStopFilter(LuceneVersion version, bool enablePositionIncrements, TokenStream input, ISet<string> stopTags)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | |
System.Boolean | enablePositionIncrements | |
TokenStream | input | |
ISet<System.String> | stopTags |
Methods
| Improve this Doc View SourceAccept()
Declaration
protected override bool Accept()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Implements
IDisposable