Class MorfologikAnalyzer
Lucene.Net.Analysis.Analyzer using Morfologik library.
Inheritance
System.Object
Lucene.Net.Analysis.Analyzer
MorfologikAnalyzer
Implements
System.IDisposable
Inherited Members
Lucene.Net.Analysis.Analyzer.Strategy
Lucene.Net.Analysis.Analyzer.Dispose()
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.Morfologik
Assembly: Lucene.Net.Analysis.Morfologik.dll
Syntax
public class MorfologikAnalyzer : Analyzer, IDisposable
Constructors
| Improve this Doc View SourceMorfologikAnalyzer(LuceneVersion)
Builds an analyzer with the default Morfologik's Polish dictionary.
Declaration
public MorfologikAnalyzer(LuceneVersion version)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.LuceneVersion | version | Lucene compatibility version |
MorfologikAnalyzer(LuceneVersion, Dictionary)
Builds an analyzer with an explicit Morfologik.Stemming.Dictionary resource.
Declaration
public MorfologikAnalyzer(LuceneVersion version, Dictionary dictionary)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.LuceneVersion | version | Lucene compatibility version |
Morfologik.Stemming.Dictionary | dictionary | A prebuilt automaton with inflected and base word forms. |
Methods
| Improve this Doc View SourceCreateComponents(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 |
---|---|---|
System.String | fieldName | Ignored field name. |
System.IO.TextReader | reader | Source of tokens. |
Returns
Type | Description |
---|---|
Lucene.Net.Analysis.TokenStreamComponents | A Lucene.Net.Analysis.TokenStreamComponents built from a Lucene.Net.Analysis.Standard.StandardTokenizer filtered with MorfologikFilter. |
Overrides
Implements
System.IDisposable