Show / Hide Table of Contents

    Class MorfologikAnalyzer

    Analyzer using Morfologik library.

    See: Morfologik project page

    Inheritance
    System.Object
    Analyzer
    MorfologikAnalyzer
    Inherited Members
    Lucene.Net.Analysis.Analyzer.NewAnonymous(Func<, , >)
    Lucene.Net.Analysis.Analyzer.NewAnonymous(Func<, , >, Lucene.Net.Analysis.ReuseStrategy)
    Lucene.Net.Analysis.Analyzer.NewAnonymous(Func<, , >, Func<, , >)
    Lucene.Net.Analysis.Analyzer.NewAnonymous(Func<, , >, Func<, , >, Lucene.Net.Analysis.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(Boolean)
    Analyzer.GLOBAL_REUSE_STRATEGY
    Analyzer.PER_FIELD_REUSE_STRATEGY
    Namespace: Lucene.Net.Analysis.Morfologik
    Assembly: Lucene.Net.Analysis.Morfologik.dll
    Syntax
    public class MorfologikAnalyzer : Analyzer

    Constructors

    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    MorfologikAnalyzer(LuceneVersion, Dictionary)

    Builds an analyzer with an explicit 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

    | Improve this Doc View Source

    CreateComponents(String, TextReader)

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

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

    Ignored field name.

    TextReader reader

    Source of tokens.

    Returns
    Type Description
    TokenStreamComponents

    A TokenStreamComponents built from a StandardTokenizer filtered with MorfologikFilter.

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