org.apache.lucene.analysis.th
Class ThaiAnalyzer
java.lang.Object
  
org.apache.lucene.analysis.Analyzer
      
org.apache.lucene.analysis.ReusableAnalyzerBase
          
org.apache.lucene.analysis.th.ThaiAnalyzer
- All Implemented Interfaces: 
 - Closeable
 
public final class ThaiAnalyzer
- extends ReusableAnalyzerBase
 
Analyzer for Thai language. It uses BreakIterator to break words.
- Version:
 
  - 0.2
 
NOTE: This class uses the same Version
 dependent settings as StandardAnalyzer.
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ThaiAnalyzer
public ThaiAnalyzer(Version matchVersion)
createComponents
protected ReusableAnalyzerBase.TokenStreamComponents createComponents(String fieldName,
                                                                      Reader reader)
- Creates
 
ReusableAnalyzerBase.TokenStreamComponents
 used to tokenize all the text in the provided Reader.
- Specified by:
 createComponents in class ReusableAnalyzerBase
 
- Parameters:
 fieldName - the name of the fields content passed to the
          ReusableAnalyzerBase.TokenStreamComponents sink as a readerreader - the reader passed to the Tokenizer constructor
- Returns:
 ReusableAnalyzerBase.TokenStreamComponents
         built from a StandardTokenizer filtered with
         StandardFilter, LowerCaseFilter, ThaiWordFilter, and
         StopFilter
 
 
Copyright © 2000-2011 Apache Software Foundation.  All Rights Reserved.