public static class AggregatingSentenceIterator.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AggregatingSentenceIterator.Builder |
addSentenceIterator(SentenceIterator iterator) |
AggregatingSentenceIterator.Builder |
addSentenceIterators(java.util.Collection<SentenceIterator> iterator) |
AggregatingSentenceIterator.Builder |
addSentencePreProcessor(SentencePreProcessor preProcessor) |
AggregatingSentenceIterator |
build() |
public AggregatingSentenceIterator.Builder addSentenceIterator(@NonNull SentenceIterator iterator)
public AggregatingSentenceIterator.Builder addSentenceIterators(@NonNull java.util.Collection<SentenceIterator> iterator)
public AggregatingSentenceIterator.Builder addSentencePreProcessor(@NonNull SentencePreProcessor preProcessor)
public AggregatingSentenceIterator build()