Class JapaneseAnalyzer
Analyzer for Japanese that uses morphological analysis.
Implements
Inherited Members
StopwordAnalyzerBase.m_stopwords
StopwordAnalyzerBase.m_matchVersion
StopwordAnalyzerBase.StopwordSet
Analyzer.Strategy
Analyzer.Dispose()
Analyzer.GLOBAL_REUSE_STRATEGY
Analyzer.PER_FIELD_REUSE_STRATEGY
Namespace: Lucene.Net.Analysis.Ja
Assembly: Lucene.Net.Analysis.Kuromoji.dll
Syntax
public class JapaneseAnalyzer : StopwordAnalyzerBase, IDisposable
Constructors
JapaneseAnalyzer(LuceneVersion)
Analyzer for Japanese that uses morphological analysis.
Declaration
public JapaneseAnalyzer(LuceneVersion matchVersion)
Parameters
| Type | Name | Description |
|---|---|---|
| LuceneVersion | matchVersion |
See Also
JapaneseAnalyzer(LuceneVersion, UserDictionary, JapaneseTokenizerMode, CharArraySet, ISet<string>)
Analyzer for Japanese that uses morphological analysis.
Declaration
public JapaneseAnalyzer(LuceneVersion matchVersion, UserDictionary userDict, JapaneseTokenizerMode mode, CharArraySet stopwords, ISet<string> stoptags)
Parameters
| Type | Name | Description |
|---|---|---|
| LuceneVersion | matchVersion | |
| UserDictionary | userDict | |
| JapaneseTokenizerMode | mode | |
| CharArraySet | stopwords | |
| ISet<string> | stoptags |
See Also
Properties
DefaultStopSet
Analyzer for Japanese that uses morphological analysis.
Declaration
public static CharArraySet DefaultStopSet { get; }
Property Value
| Type | Description |
|---|---|
| CharArraySet |
See Also
DefaultStopTags
Analyzer for Japanese that uses morphological analysis.
Declaration
public static ISet<string> DefaultStopTags { get; }
Property Value
| Type | Description |
|---|---|
| ISet<string> |
See Also
Methods
CreateComponents(string, TextReader)
Creates a new Lucene.Net.Analysis.TokenStreamComponents instance for this analyzer.
Declaration
protected override TokenStreamComponents CreateComponents(string fieldName, TextReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | the name of the fields content passed to the Lucene.Net.Analysis.TokenStreamComponents sink as a reader |
| TextReader | reader | the reader passed to the Lucene.Net.Analysis.Tokenizer constructor |
Returns
| Type | Description |
|---|---|
| TokenStreamComponents | the Lucene.Net.Analysis.TokenStreamComponents for this analyzer. |