|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.Tokenizer
org.wltea.analyzer.lucene.IKTokenizer
public final class IKTokenizer
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 |
构造方法详细信息 |
---|
public IKTokenizer(java.io.Reader in, boolean useSmart)
in
- useSmart
- 方法详细信息 |
---|
public boolean incrementToken() throws java.io.IOException
org.apache.lucene.analysis.TokenStream
中的 incrementToken
java.io.IOException
public void reset(java.io.Reader input) throws java.io.IOException
org.apache.lucene.analysis.Tokenizer
中的 reset
java.io.IOException
public final void end()
org.apache.lucene.analysis.TokenStream
中的 end
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |