• API

    Show / Hide Table of Contents

    Class PolishAnalyzer

    Lucene.Net.Analysis.Analyzer for Polish.

    Inheritance
    System.Object
    Lucene.Net.Analysis.Analyzer
    Lucene.Net.Analysis.Util.StopwordAnalyzerBase
    PolishAnalyzer
    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.InitReader(String, TextReader)
    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.Pl
    Assembly: Lucene.Net.Analysis.Stempel.dll
    Syntax
    public sealed class PolishAnalyzer : StopwordAnalyzerBase, IDisposable

    Constructors

    | Improve this Doc View Source

    PolishAnalyzer(LuceneVersion)

    Builds an analyzer with the default stop words: DEFAULT_STOPWORD_FILE.

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

    lucene compatibility version

    | Improve this Doc View Source

    PolishAnalyzer(LuceneVersion, CharArraySet)

    Builds an analyzer with the given stop words.

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

    lucene compatibility version

    Lucene.Net.Analysis.Util.CharArraySet stopwords

    a stopword set

    | Improve this Doc View Source

    PolishAnalyzer(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 PolishAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet)
    Parameters
    Type Name Description
    Lucene.Net.Util.LuceneVersion matchVersion

    lucene compatibility version

    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_STEMMER_FILE

    File containing default Polish stemmer table.

    Declaration
    public static readonly string DEFAULT_STEMMER_FILE
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    DEFAULT_STOPWORD_FILE

    File containing default Polish stopwords.

    Declaration
    public static readonly string DEFAULT_STOPWORD_FILE
    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.

    | Improve this Doc View Source

    DefaultTable

    Returns an unmodifiable instance of the default stemmer table.

    Declaration
    public static Trie DefaultTable { get; }
    Property Value
    Type Description
    Trie

    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 an Lucene.Net.Analysis.Standard.StandardTokenizer filtered with Lucene.Net.Analysis.Standard.StandardFilter, Lucene.Net.Analysis.Core.LowerCaseFilter, Lucene.Net.Analysis.Core.StopFilter, Lucene.Net.Analysis.Miscellaneous.SetKeywordMarkerFilter if a stem excusion set is provided and StempelFilter.

    Overrides
    Analyzer.CreateComponents(String, TextReader)

    Implements

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