Uses of Interface
opennlp.tools.document.DocumentAnnotators.SentenceTokenConsumer
Packages that use DocumentAnnotators.SentenceTokenConsumer
-
Uses of DocumentAnnotators.SentenceTokenConsumer in opennlp.tools.document
Methods in opennlp.tools.document with parameters of type DocumentAnnotators.SentenceTokenConsumerModifier and TypeMethodDescriptionstatic voidDocumentAnnotators.forEachSentence(List<Annotation<String>> sentences, List<Annotation<String>> tokens, DocumentAnnotators.SentenceTokenConsumer consumer) Walks the token layer sentence by sentence and hands each sentence's contiguous token run to the consumer.