Show / Hide Table of Contents

    Class KStemFilter

    A high-performance kstem filter for english.

    See "Viewing Morphology as an Inference Process" (Krovetz, R., Proceedings of the Sixteenth Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, 191-203, 1993).

    All terms must already be lowercased for this filter to work correctly.

    Note: This filter is aware of the KeywordAttribute. To prevent certain terms from being passed to the stemmer IsKeyword should be set to

    true
    in a previous TokenStream. Note: For including the original term as well as the stemmed version, see KeywordRepeatFilterFactory

    Inheritance
    System.Object
    AttributeSource
    TokenStream
    TokenFilter
    KStemFilter
    Implements
    IDisposable
    Inherited Members
    TokenFilter.m_input
    TokenFilter.End()
    TokenFilter.Dispose(Boolean)
    TokenFilter.Reset()
    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(Boolean)
    AttributeSource.ReflectWith(IAttributeReflector)
    AttributeSource.CloneAttributes()
    AttributeSource.CopyTo(AttributeSource)
    AttributeSource.ToString()
    Namespace: Lucene.Net.Analysis.En
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public sealed class KStemFilter : TokenFilter, IDisposable

    Constructors

    | Improve this Doc View Source

    KStemFilter(TokenStream)

    Declaration
    public KStemFilter(TokenStream in)
    Parameters
    Type Name Description
    TokenStream in

    Methods

    | Improve this Doc View Source

    IncrementToken()

    Returns the next, stemmed, input Token.

    Declaration
    public override bool IncrementToken()
    Returns
    Type Description
    System.Boolean

    The stemmed form of a token.

    Overrides
    TokenStream.IncrementToken()

    Implements

    IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)