Class IKAnalyzerResult
java.lang.Object
org.miaixz.bus.core.center.iterator.ComputeIterator<NLPWord>
org.miaixz.bus.extra.nlp.AbstractResult
org.miaixz.bus.extra.nlp.provider.ikanalyzer.IKAnalyzerResult
- All Implemented Interfaces:
Iterable<NLPWord>,Iterator<NLPWord>,org.miaixz.bus.core.center.iterator.IterableIterator<NLPWord>,NLPResult
IKAnalyzer分词结果实现 项目地址:https://github.com/yozhao/IKAnalyzer
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.miaixz.bus.extra.nlp.AbstractResult
computeNextMethods 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
-
IKAnalyzerResult
public IKAnalyzerResult(org.wltea.analyzer.core.IKSegmenter seg) 构造- Parameters:
seg- 分词结果
-
-
Method Details
-
nextWord
Description copied from class:AbstractResult下一个单词,通过实现此方法获取下一个单词,null表示无下一个结果。- Specified by:
nextWordin classAbstractResult- Returns:
- 下一个单词或null
-