Show / Hide Table of Contents

    Class GermanStemFilter

    A TokenFilter that stems German words.

    It supports a table of words that should not be stemmed at all. The stemmer used can be changed at runtime after the filter object is created (as long as it is a GermanStemmer).

    To prevent terms from being stemmed use an instance of SetKeywordMarkerFilter or a custom TokenFilter that sets the KeywordAttribute before this TokenStream.

    Inheritance
    System.Object
    AttributeSource
    TokenStream
    TokenFilter
    GermanStemFilter
    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.De
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public sealed class GermanStemFilter : TokenFilter, IDisposable

    Constructors

    | Improve this Doc View Source

    GermanStemFilter(TokenStream)

    Creates a GermanStemFilter instance

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

    the source TokenStream

    Properties

    | Improve this Doc View Source

    Stemmer

    Set a alternative/custom GermanStemmer for this filter.

    Declaration
    public GermanStemmer Stemmer { get; set; }
    Property Value
    Type Description
    GermanStemmer

    Methods

    | Improve this Doc View Source

    IncrementToken()

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

    Returns true for next token in the stream, or false at EOS

    Overrides
    TokenStream.IncrementToken()

    Implements

    IDisposable

    See Also

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