Module bus.extra

Interface NLPResult

All Superinterfaces:
Iterable<NLPWord>, org.miaixz.bus.core.center.iterator.IterableIterator<NLPWord>, Iterator<NLPWord>
All Known Implementing Classes:
AbstractResult, AnalysisResult, AnsjResult, HanLPResult, JcsegResult, JiebaResult, MmsegResult, MynlpResult, WordResult

public interface NLPResult extends org.miaixz.bus.core.center.iterator.IterableIterator<NLPWord>
Interface definition for Natural Language Processing (NLP) word segmentation results. Implementations of this interface wrap the output of a tokenizer and provide a way to iterate over the segmented words, each represented by an NLPWord object. This interface extends IterableIterator to allow for easy iteration over the words.
Since:
Java 17+
Author:
Kimi Liu