Class ChineseAnalyzer
An Analyzer that tokenizes text with ChineseTokenizer and filters with ChineseFilter
Implements
System.IDisposable
Inherited Members
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.Cn
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Obsolete("(3.1) Use StandardAnalyzer instead, which has the same functionality.")]
public sealed class ChineseAnalyzer : Analyzer, IDisposable
Methods
| Improve this Doc View SourceCreateComponents(String, TextReader)
Creates TokenStreamComponents used to tokenize 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 |
---|---|
TokenStreamComponents | TokenStreamComponents built from a ChineseTokenizer filtered with ChineseFilter |
Overrides
Implements
System.IDisposable