Class DictionaryStopwordFilter.Builder

java.lang.Object
opennlp.tools.stopword.DictionaryStopwordFilter.Builder
Enclosing class:
DictionaryStopwordFilter

public static final class DictionaryStopwordFilter.Builder extends Object
Fluent builder for DictionaryStopwordFilter. Accumulates add / remove operations together with a case-sensitivity setting; build() produces an immutable filter that reflects the accumulated state.

Operations are applied at build() time in the order "all adds, then all removes". Within each phase, insertion order is preserved but is not externally observable.