FileDocCategorySizeDatePackage
ThaiAnalyzer.javaAPI DocApache Lucene 2.1.01528Wed Feb 14 10:46:32 GMT 2007org.apache.lucene.analysis.th

ThaiAnalyzer

public class ThaiAnalyzer extends Analyzer
Analyzer for Thai language. It uses java.text.BreakIterator to break words.
author
Samphan Raruenrom for To-Be-One Technology Co., Ltd.
version
0.2

Fields Summary
Constructors Summary
Methods Summary
public org.apache.lucene.analysis.TokenStreamtokenStream(java.lang.String fieldName, java.io.Reader reader)

	  TokenStream ts = new StandardTokenizer(reader);
    ts = new StandardFilter(ts);
    ts = new ThaiWordFilter(ts);
    ts = new StopFilter(ts, StopAnalyzer.ENGLISH_STOP_WORDS);
    return ts;