Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class UkrainianMorfologikAnalyzer

    A dictionary-based Lucene.Net.Analysis.Analyzer for Ukrainian.

    Inheritance
    System.Object
    Lucene.Net.Analysis.Analyzer
    Lucene.Net.Analysis.Util.StopwordAnalyzerBase
    UkrainianMorfologikAnalyzer
    Implements
    System.IDisposable
    Inherited Members
    Lucene.Net.Analysis.Util.StopwordAnalyzerBase.m_stopwords
    Lucene.Net.Analysis.Util.StopwordAnalyzerBase.m_matchVersion
    Lucene.Net.Analysis.Util.StopwordAnalyzerBase.StopwordSet
    Lucene.Net.Analysis.Util.StopwordAnalyzerBase.LoadStopwordSet(System.Boolean, System.Type, System.String, System.String)
    Lucene.Net.Analysis.Util.StopwordAnalyzerBase.LoadStopwordSet(System.IO.FileInfo, Lucene.Net.Util.LuceneVersion)
    Lucene.Net.Analysis.Util.StopwordAnalyzerBase.LoadStopwordSet(System.IO.TextReader, Lucene.Net.Util.LuceneVersion)
    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.GetPositionIncrementGap(String)
    Analyzer.GetOffsetGap(String)
    Lucene.Net.Analysis.Analyzer.Strategy
    Lucene.Net.Analysis.Analyzer.Dispose()
    Analyzer.Dispose(Boolean)
    Lucene.Net.Analysis.Analyzer.GLOBAL_REUSE_STRATEGY
    Lucene.Net.Analysis.Analyzer.PER_FIELD_REUSE_STRATEGY
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis.Uk
    Assembly: Lucene.Net.Analysis.Morfologik.dll
    Syntax
    public sealed class UkrainianMorfologikAnalyzer : StopwordAnalyzerBase, IDisposable

    Constructors

    | Improve this Doc View Source

    UkrainianMorfologikAnalyzer(LuceneVersion)

    Builds an analyzer with the default stop words: DEFAULT_STOPWORD_FILE.

    Declaration
    public UkrainianMorfologikAnalyzer(LuceneVersion matchVersion)
    Parameters
    Type Name Description
    Lucene.Net.Util.LuceneVersion matchVersion

    Lucene.Net.Util.LuceneVersion to match.

    | Improve this Doc View Source

    UkrainianMorfologikAnalyzer(LuceneVersion, CharArraySet)

    Builds an analyzer with the given stop words.

    Declaration
    public UkrainianMorfologikAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords)
    Parameters
    Type Name Description
    Lucene.Net.Util.LuceneVersion matchVersion

    Lucene.Net.Util.LuceneVersion to match.

    Lucene.Net.Analysis.Util.CharArraySet stopwords

    A stopword set.

    | Improve this Doc View Source

    UkrainianMorfologikAnalyzer(LuceneVersion, CharArraySet, CharArraySet)

    Builds an analyzer with the given stop words. If a non-empty stem exclusion set is provided this analyzer will add a Lucene.Net.Analysis.Miscellaneous.SetKeywordMarkerFilter before stemming.

    Declaration
    public UkrainianMorfologikAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet)
    Parameters
    Type Name Description
    Lucene.Net.Util.LuceneVersion matchVersion

    Lucene.Net.Util.LuceneVersion to match.

    Lucene.Net.Analysis.Util.CharArraySet stopwords

    A stopword set.

    Lucene.Net.Analysis.Util.CharArraySet stemExclusionSet

    A set of terms not to be stemmed.

    Fields

    | Improve this Doc View Source

    DEFAULT_STOPWORD_FILE

    File containing default Ukrainian stopwords.

    Declaration
    public const string DEFAULT_STOPWORD_FILE = "stopwords.txt"
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    DefaultStopSet

    Returns an unmodifiable instance of the default stop words set.

    Declaration
    public static CharArraySet DefaultStopSet { get; }
    Property Value
    Type Description
    Lucene.Net.Analysis.Util.CharArraySet

    Default stop words set.

    Methods

    | Improve this Doc View Source

    CreateComponents(String, TextReader)

    Creates a Lucene.Net.Analysis.TokenStreamComponents which tokenizes all the text in the provided System.IO.TextReader.

    Declaration
    protected override TokenStreamComponents CreateComponents(string fieldName, TextReader reader)
    Parameters
    Type Name Description
    System.String fieldName
    System.IO.TextReader reader
    Returns
    Type Description
    Lucene.Net.Analysis.TokenStreamComponents

    A Lucene.Net.Analysis.TokenStreamComponents built from a Lucene.Net.Analysis.Standard.StandardTokenizer filtered with Lucene.Net.Analysis.Core.LowerCaseFilter, Lucene.Net.Analysis.Core.StopFilter, Lucene.Net.Analysis.Miscellaneous.SetKeywordMarkerFilter if a stem exclusion set is provided and MorfologikFilter on the Ukrainian dictionary.

    Overrides
    Analyzer.CreateComponents(String, TextReader)
    | Improve this Doc View Source

    InitReader(String, TextReader)

    Declaration
    protected override TextReader InitReader(string fieldName, TextReader reader)
    Parameters
    Type Name Description
    System.String fieldName
    System.IO.TextReader reader
    Returns
    Type Description
    System.IO.TextReader
    Overrides
    Analyzer.InitReader(String, TextReader)

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.