Package org.miaixz.bus.extra.nlp
Class AbstractResult
java.lang.Object
org.miaixz.bus.core.center.iterator.ComputeIterator<NLPWord>
org.miaixz.bus.extra.nlp.AbstractResult
- All Implemented Interfaces:
Iterable<NLPWord>,Iterator<NLPWord>,org.miaixz.bus.core.center.iterator.IterableIterator<NLPWord>,NLPResult
- Direct Known Subclasses:
AnalysisResult,IKAnalyzerResult,JcsegResult,MmsegResult
public abstract class AbstractResult
extends org.miaixz.bus.core.center.iterator.ComputeIterator<NLPWord>
implements NLPResult
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.miaixz.bus.core.center.iterator.ComputeIterator
finish, hasNext, nextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.miaixz.bus.core.center.iterator.IterableIterator
iteratorMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Constructor Details
-
AbstractResult
public AbstractResult()
-
-
Method Details
-
nextWord
下一个单词,通过实现此方法获取下一个单词,null表示无下一个结果。- Returns:
- 下一个单词或null
-
computeNext
- Specified by:
computeNextin classorg.miaixz.bus.core.center.iterator.ComputeIterator<NLPWord>
-