org.apache.lucene.analysis.th

Class ThaiTokenizer

  • All Implemented Interfaces:
    Closeable, AutoCloseable


    public class ThaiTokenizer
    extends SegmentingTokenizerBase
    Tokenizer that use BreakIterator to tokenize Thai text.

    WARNING: this tokenizer may not be supported by all JREs. It is known to work with Sun/Oracle and Harmony JREs. If your application needs to be fully portable, consider using ICUTokenizer instead, which uses an ICU Thai BreakIterator that will always be available.