org.apache.lucene.analysis.th
Class ThaiWordFilter

java.lang.Object
  extended byorg.apache.lucene.analysis.TokenStream
      extended byorg.apache.lucene.analysis.TokenFilter
          extended byorg.apache.lucene.analysis.th.ThaiWordFilter

public class ThaiWordFilter
extends TokenFilter

TokenFilter that use java.text.BreakIterator to break each Token that is Thai into separate Token(s) for each Thai word.

Version:
0.2
Author:
Samphan Raruenrom for To-Be-One Technology Co., Ltd.

Field Summary
 
Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
 
Constructor Summary
ThaiWordFilter(TokenStream input)
           
 
Method Summary
 Token next()
          Returns the next token in the stream, or null at EOS.
 
Methods inherited from class org.apache.lucene.analysis.TokenFilter
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThaiWordFilter

public ThaiWordFilter(TokenStream input)
Method Detail

next

public Token next()
           throws IOException
Description copied from class: TokenStream
Returns the next token in the stream, or null at EOS.

Specified by:
next in class TokenStream
Throws:
IOException


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.