Show / Hide Table of Contents

    Class MorfologikFilter

    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
    System.Object
    AttributeSource
    TokenStream
    TokenFilter
    MorfologikFilter
    Implements
    IDisposable
    Inherited Members
    TokenFilter.m_input
    TokenFilter.End()
    TokenFilter.Dispose(Boolean)
    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.Morfologik
    Assembly: Lucene.Net.Analysis.Morfologik.dll
    Syntax
    public class MorfologikFilter : TokenFilter, IDisposable

    Constructors

    | Improve this Doc View Source

    MorfologikFilter(TokenStream)

    Creates a filter with the default (Polish) dictionary.

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

    Input token stream.

    | Improve this Doc View Source

    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

    to use for stemming.

    Methods

    | Improve this Doc View Source

    IncrementToken()

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

    Declaration
    public override sealed bool IncrementToken()
    Returns
    Type Description
    System.Boolean
    Overrides
    TokenStream.IncrementToken()
    | Improve this Doc View Source

    Reset()

    Resets stems accumulator and hands over to superclass.

    Declaration
    public override void Reset()
    Overrides
    TokenFilter.Reset()

    Implements

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