public class AnalysisResult extends AbstractResult
Constructor and Description |
---|
AnalysisResult(org.apache.lucene.analysis.TokenStream stream)
构造
|
Modifier and Type | Method and Description |
---|---|
protected Word |
nextWord()
下一个单词,通过实现此方法获取下一个单词,null表示无下一个结果。
|
computeNext
finish, hasNext, next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator
forEach, spliterator
forEachRemaining, hasNext, next, remove
public AnalysisResult(org.apache.lucene.analysis.TokenStream stream)
stream
- 分词结果protected Word nextWord()
AbstractResult
nextWord
in class AbstractResult
Copyright © 2024. All rights reserved.