Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class JapanesePartOfSpeechStopFilter

    Removes tokens that match a set of part-of-speech tags.

    Inheritance
    object
    AttributeSource
    TokenStream
    TokenFilter
    FilteringTokenFilter
    JapanesePartOfSpeechStopFilter
    Implements
    IDisposable
    Inherited Members
    FilteringTokenFilter.IncrementToken()
    FilteringTokenFilter.Reset()
    FilteringTokenFilter.EnablePositionIncrements
    FilteringTokenFilter.SetEnablePositionIncrements(bool)
    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.Equals(object)
    AttributeSource.ReflectAsString(bool)
    AttributeSource.ReflectWith(IAttributeReflector)
    AttributeSource.CloneAttributes()
    AttributeSource.CopyTo(AttributeSource)
    AttributeSource.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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()

    Implements

    IDisposable
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.