Class RussianAnalyzer
Analyzer for Russian language.
Supports an external list of stopwords (words that will not be indexed at all). A default set of stopwords is used unless an alternative list is specified.
You must specify the required LuceneVersion compatibility when creating RussianAnalyzer:
- As of 3.1, StandardTokenizer is used, Snowball stemming is done with SnowballFilter, and Snowball stopwords are used by default.
Inherited Members
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, Lucene.Net.Analysis.ReuseStrategy)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, System.Func<System.String, System.IO.TextReader, System.IO.TextReader>)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, System.Func<System.String, System.IO.TextReader, System.IO.TextReader>, Lucene.Net.Analysis.ReuseStrategy)
Lucene.Net.Analysis.Analyzer.GetTokenStream(System.String, System.IO.TextReader)
Lucene.Net.Analysis.Analyzer.InitReader(System.String, System.IO.TextReader)
Lucene.Net.Analysis.Analyzer.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class RussianAnalyzer : StopwordAnalyzerBase, IDisposable
Constructors
Name | Description |
---|---|
RussianAnalyzer(LuceneVersion) | |
RussianAnalyzer(LuceneVersion, CharArraySet) | Builds an analyzer with the given stop words |
RussianAnalyzer(LuceneVersion, CharArraySet, CharArraySet) | Builds an analyzer with the given stop words |
Fields
Name | Description |
---|---|
DEFAULT_STOPWORD_FILE | File containing default Russian stopwords. |
Properties
Name | Description |
---|---|
DefaultStopSet | Returns an unmodifiable instance of the default stop-words set. |
Methods
Name | Description |
---|---|
CreateComponents(String, TextReader) | Creates TokenStreamComponents used to tokenize all the text in the provided System.IO.TextReader. |