LowerCaseTokenizer performs the function of LetterTokenizer
and LowerCaseFilter together. It divides text at non-letters and converts
them to lower case. While it is functionally equivalent to the combination
of LetterTokenizer and LowerCaseFilter, there is a performance advantage
to doing the two tasks at once, hence this (redundant) implementation.
Note: this does a decent job for most European languages, but does a terrible
job for some Asian languages, where words are not separated by spaces.
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public sealed class LowerCaseTokenizer : LetterTokenizer |
Visual Basic |
---|
Public NotInheritable Class LowerCaseTokenizer _ Inherits LetterTokenizer |
Visual C++ |
---|
public ref class LowerCaseTokenizer sealed : public LetterTokenizer |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Util..::..AttributeSource
Lucene.Net.Analysis..::..TokenStream
Lucene.Net.Analysis..::..Tokenizer
Lucene.Net.Analysis..::..CharTokenizer
Lucene.Net.Analysis..::..LetterTokenizer
Lucene.Net.Analysis..::..LowerCaseTokenizer
Lucene.Net.Util..::..AttributeSource
Lucene.Net.Analysis..::..TokenStream
Lucene.Net.Analysis..::..Tokenizer
Lucene.Net.Analysis..::..CharTokenizer
Lucene.Net.Analysis..::..LetterTokenizer
Lucene.Net.Analysis..::..LowerCaseTokenizer