|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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 4.0版本
| 嵌套类摘要 |
|---|
| 从类 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 4.0 Tokenizer适配器类构造函数 |
|
| 方法摘要 | |
|---|---|
void |
end()
|
boolean |
incrementToken()
|
void |
reset()
|
| 从类 org.apache.lucene.analysis.Tokenizer 继承的方法 |
|---|
close, setReader |
| 从类 org.apache.lucene.util.AttributeSource 继承的方法 |
|---|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState |
| 从类 java.lang.Object 继承的方法 |
|---|
getClass, notify, notifyAll, toString, 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 中的 incrementTokenjava.io.IOException
public void reset()
throws java.io.IOException
org.apache.lucene.analysis.TokenStream 中的 resetjava.io.IOExceptionpublic final void end()
org.apache.lucene.analysis.TokenStream 中的 end
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||