Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MorfologikFilter

    Lucene.Net.Analysis.TokenFilter using Morfologik library to transform input tokens into lemma and morphosyntactic (POS) tokens. Applies to Polish only.

    MorfologikFilter contains a MorphosyntacticTagsAttribute, which provides morphosyntactic annotations for produced lemmas. See the Morfologik documentation for details.
    Inheritance
    object
    AttributeSource
    TokenStream
    TokenFilter
    MorfologikFilter
    Implements
    IDisposable
    Inherited Members
    TokenFilter.m_input
    TokenFilter.End()
    TokenFilter.Dispose(bool)
    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.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Analysis.Morfologik
    Assembly: Lucene.Net.Analysis.Morfologik.dll
    Syntax
    public class MorfologikFilter : TokenFilter, IDisposable

    Constructors

    MorfologikFilter(TokenStream)

    Creates a filter with the default (Polish) dictionary.

    Declaration
    public MorfologikFilter(TokenStream input)
    Parameters
    Type Name Description
    TokenStream input

    Input token stream.

    MorfologikFilter(TokenStream, Dictionary)

    Creates a filter with a given dictionary.

    Declaration
    public MorfologikFilter(TokenStream input, Dictionary dict)
    Parameters
    Type Name Description
    TokenStream input

    Input token stream.

    Dictionary dict

    Morfologik.Stemming.Dictionary to use for stemming.

    Methods

    IncrementToken()

    Retrieves the next token (possibly from the list of lemmas).

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

    Reset()

    Resets stems accumulator and hands over to superclass.

    Declaration
    public override void Reset()
    Overrides
    Lucene.Net.Analysis.TokenFilter.Reset()

    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.