org.wltea.analyzer.lucene
类 IKTokenizer

java.lang.Object
  继承者 org.apache.lucene.util.AttributeSource
      继承者 org.apache.lucene.analysis.TokenStream
          继承者 org.apache.lucene.analysis.Tokenizer
              继承者 org.wltea.analyzer.lucene.IKTokenizer
所有已实现的接口:
java.io.Closeable

public final class IKTokenizer
extends org.apache.lucene.analysis.Tokenizer

IK分词器 Lucene Tokenizer适配器类 兼容Lucene 3.1以上版本


嵌套类摘要
 
从类 org.apache.lucene.util.AttributeSource 继承的嵌套类/接口
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State
 
构造方法摘要
IKTokenizer(java.io.Reader in, boolean useSmart)
          Lucene 3.5 Tokenizer适配器类构造函数
 
方法摘要
 void end()
           
 boolean incrementToken()
           
 void reset(java.io.Reader input)
           
 
从类 org.apache.lucene.analysis.Tokenizer 继承的方法
close
 
从类 org.apache.lucene.analysis.TokenStream 继承的方法
reset
 
从类 org.apache.lucene.util.AttributeSource 继承的方法
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

IKTokenizer

public IKTokenizer(java.io.Reader in,
                   boolean useSmart)
Lucene 3.5 Tokenizer适配器类构造函数

参数:
in -
useSmart -
方法详细信息

incrementToken

public boolean incrementToken()
                       throws java.io.IOException
指定者:
org.apache.lucene.analysis.TokenStream 中的 incrementToken
抛出:
java.io.IOException

reset

public void reset(java.io.Reader input)
           throws java.io.IOException
覆盖:
org.apache.lucene.analysis.Tokenizer 中的 reset
抛出:
java.io.IOException

end

public final void end()
覆盖:
org.apache.lucene.analysis.TokenStream 中的 end