Show / Hide Table of Contents

    Class DutchStemFilter

    A TokenFilter that stems Dutch 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 DutchStemmer).

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

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

    Constructors

    | Improve this Doc View Source

    DutchStemFilter(TokenStream)

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

    Input TokenStream

    | Improve this Doc View Source

    DutchStemFilter(TokenStream, IDictionary<String, String>)

    Declaration
    public DutchStemFilter(TokenStream in, IDictionary<string, string> stemdictionary)
    Parameters
    Type Name Description
    TokenStream in

    Input TokenStream

    IDictionary<System.String, System.String> stemdictionary

    Dictionary of word stem pairs, that overrule the algorithm

    Properties

    | Improve this Doc View Source

    StemDictionary

    Set dictionary for stemming, this dictionary overrules the algorithm, so you can correct for a particular unwanted word-stem pair.

    Declaration
    public CharArrayMap<string> StemDictionary { get; set; }
    Property Value
    Type Description
    CharArrayMap<System.String>
    | Improve this Doc View Source

    Stemmer

    Set a alternative/custom DutchStemmer for this filter.

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

    Methods

    | Improve this Doc View Source

    IncrementToken()

    Returns the next token in the stream, or null at EOS

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

    Implements

    IDisposable

    See Also

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