Class JapanesePartOfSpeechStopFilter
Removes tokens that match a set of part-of-speech tags.
Inheritance
AttributeSource
TokenStream
TokenFilter
FilteringTokenFilter
JapanesePartOfSpeechStopFilter
Implements
Inherited Members
FilteringTokenFilter.IncrementToken()
FilteringTokenFilter.Reset()
FilteringTokenFilter.EnablePositionIncrements
FilteringTokenFilter.End()
TokenStream.Dispose()
AttributeSource.GetAttributeFactory()
AttributeSource.GetAttributeClassesEnumerator()
AttributeSource.GetAttributeImplsEnumerator()
AttributeSource.AddAttributeImpl(Attribute)
AttributeSource.AddAttribute<T>()
AttributeSource.HasAttributes
AttributeSource.HasAttribute<T>()
AttributeSource.GetAttribute<T>()
AttributeSource.ClearAttributes()
AttributeSource.CaptureState()
AttributeSource.RestoreState(AttributeSource.State)
AttributeSource.GetHashCode()
AttributeSource.ReflectWith(IAttributeReflector)
AttributeSource.CloneAttributes()
AttributeSource.CopyTo(AttributeSource)
AttributeSource.ToString()
Namespace: Lucene.Net.Analysis.Ja
Assembly: Lucene.Net.Analysis.Kuromoji.dll
Syntax
public sealed class JapanesePartOfSpeechStopFilter : FilteringTokenFilter, IDisposable
Constructors
JapanesePartOfSpeechStopFilter(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 Lucene.Net.Analysis.TokenStream to consume. |
ISet<string> | stopTags | The part-of-speech tags that should be removed. |
JapanesePartOfSpeechStopFilter(LuceneVersion, bool, TokenStream, ISet<string>)
Removes tokens that match a set of part-of-speech tags.
Declaration
[Obsolete("EnablePositionIncrements=false is not supported anymore as of Lucene 4.4.")]
public JapanesePartOfSpeechStopFilter(LuceneVersion version, bool enablePositionIncrements, TokenStream input, ISet<string> stopTags)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | version | |
bool | enablePositionIncrements | |
TokenStream | input | |
ISet<string> | stopTags |
Methods
Accept()
Override this method and return if the current input token should be returned by Lucene.Net.Analysis.Util.FilteringTokenFilter.IncrementToken().
Declaration
protected override bool Accept()
Returns
Type | Description |
---|---|
bool |
Overrides
Lucene.Net.Analysis.Util.FilteringTokenFilter.Accept()