Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MorfologikAnalyzer

    Lucene.Net.Analysis.Analyzer using Morfologik library.

    See: Morfologik project page
    Inheritance
    object
    Analyzer
    MorfologikAnalyzer
    Implements
    IDisposable
    Inherited Members
    Analyzer.NewAnonymous(Func<string, TextReader, TokenStreamComponents>)
    Analyzer.NewAnonymous(Func<string, TextReader, TokenStreamComponents>, ReuseStrategy)
    Analyzer.NewAnonymous(Func<string, TextReader, TokenStreamComponents>, Func<string, TextReader, TextReader>)
    Analyzer.NewAnonymous(Func<string, TextReader, TokenStreamComponents>, Func<string, TextReader, TextReader>, ReuseStrategy)
    Analyzer.GetTokenStream(string, TextReader)
    Analyzer.GetTokenStream(string, string)
    Analyzer.InitReader(string, TextReader)
    Analyzer.GetPositionIncrementGap(string)
    Analyzer.GetOffsetGap(string)
    Analyzer.Strategy
    Analyzer.Dispose()
    Analyzer.Dispose(bool)
    Analyzer.GLOBAL_REUSE_STRATEGY
    Analyzer.PER_FIELD_REUSE_STRATEGY
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Analysis.Morfologik
    Assembly: Lucene.Net.Analysis.Morfologik.dll
    Syntax
    public class MorfologikAnalyzer : Analyzer, IDisposable

    Constructors

    MorfologikAnalyzer(LuceneVersion)

    Builds an analyzer with the default Morfologik's Polish dictionary.

    Declaration
    public MorfologikAnalyzer(LuceneVersion version)
    Parameters
    Type Name Description
    LuceneVersion version

    Lucene compatibility version

    MorfologikAnalyzer(LuceneVersion, Dictionary)

    Builds an analyzer with an explicit Morfologik.Stemming.Dictionary resource.

    See: https://github.com/morfologik/
    Declaration
    public MorfologikAnalyzer(LuceneVersion version, Dictionary dictionary)
    Parameters
    Type Name Description
    LuceneVersion version

    Lucene compatibility version

    Dictionary dictionary

    A prebuilt automaton with inflected and base word forms.

    Methods

    CreateComponents(string, TextReader)

    Creates a Lucene.Net.Analysis.TokenStreamComponents which tokenizes all the text in the provided reader.

    Declaration
    protected override TokenStreamComponents CreateComponents(string fieldName, TextReader reader)
    Parameters
    Type Name Description
    string fieldName

    Ignored field name.

    TextReader reader

    Source of tokens.

    Returns
    Type Description
    TokenStreamComponents

    A Lucene.Net.Analysis.TokenStreamComponents built from a Lucene.Net.Analysis.Standard.StandardTokenizer filtered with MorfologikFilter.

    Overrides
    Analyzer.CreateComponents(string, TextReader)

    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.