Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class DutchStemFilter

    A Lucene.Net.Analysis.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 Lucene.Net.Analysis.TokenFilter that sets the Lucene.Net.Analysis.TokenAttributes.IKeywordAttribute before this Lucene.Net.Analysis.TokenStream.

    Inheritance
    object
    AttributeSource
    TokenStream
    TokenFilter
    DutchStemFilter
    Implements
    IDisposable
    Inherited Members
    TokenFilter.End()
    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(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.Nl
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    [Obsolete("(3.1) Use Snowball.SnowballFilter with Tartarus.Snowball.Ext.DutchStemmer instead, which has the same functionality. This filter will be removed in Lucene 5.0")]
    public sealed class DutchStemFilter : TokenFilter, IDisposable

    Constructors

    DutchStemFilter(TokenStream)

    A Lucene.Net.Analysis.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 Lucene.Net.Analysis.TokenFilter that sets the Lucene.Net.Analysis.TokenAttributes.IKeywordAttribute before this Lucene.Net.Analysis.TokenStream.

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

    Input Lucene.Net.Analysis.TokenStream

    See Also
    KeywordMarkerFilter

    DutchStemFilter(TokenStream, IDictionary<string, string>)

    A Lucene.Net.Analysis.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 Lucene.Net.Analysis.TokenFilter that sets the Lucene.Net.Analysis.TokenAttributes.IKeywordAttribute before this Lucene.Net.Analysis.TokenStream.

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

    Input Lucene.Net.Analysis.TokenStream

    IDictionary<string, string> stemdictionary

    Dictionary of word stem pairs, that overrule the algorithm

    See Also
    KeywordMarkerFilter

    Properties

    StemDictionary

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

    Declaration
    public CharArrayDictionary<string> StemDictionary { get; set; }
    Property Value
    Type Description
    CharArrayDictionary<string>
    See Also
    KeywordMarkerFilter

    Stemmer

    Set a alternative/custom DutchStemmer for this filter.

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

    Methods

    IncrementToken()

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

    Declaration
    public override bool IncrementToken()
    Returns
    Type Description
    bool
    Overrides
    Lucene.Net.Analysis.TokenStream.IncrementToken()
    See Also
    KeywordMarkerFilter

    Implements

    IDisposable

    See Also

    KeywordMarkerFilter
    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.