Class ThaiWordFilter
TokenFilter that use ICU4N.Text.BreakIterator to break each Token that is Thai into separate Token(s) for each Thai word.
Please note: Since matchVersion 3.1 on, this filter no longer lowercases non-thai text. ThaiAnalyzer will insert a LowerCaseFilter before this filter so the behaviour of the Analyzer does not change. With version 3.1, the filter handles position increments correctly.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Analysis.Th
Assembly: Lucene.Net.ICU.dll
Syntax
[Obsolete("Use ThaiTokenizer instead.")]
public sealed class ThaiWordFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceThaiWordFilter(LuceneVersion, TokenStream)
Creates a new ThaiWordFilter with the specified match version.
Declaration
public ThaiWordFilter(LuceneVersion matchVersion, TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | |
TokenStream | input |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()
Overrides
Implements
System.IDisposable