Uses of Class
opennlp.tools.stopword.DictionaryStopwordFilter.Builder
Packages that use DictionaryStopwordFilter.Builder
-
Uses of DictionaryStopwordFilter.Builder in opennlp.tools.stopword
Methods in opennlp.tools.stopword that return DictionaryStopwordFilter.BuilderModifier and TypeMethodDescriptionAdds one entry (1-gram or n-gram).DictionaryStopwordFilter.Builder.addAll(Collection<String[]> entries) Adds a bulk of entries.DictionaryStopwordFilter.builder()DictionaryStopwordFilter.Builder.caseSensitive(boolean cs) DictionaryStopwordFilter.Builder.load(InputStream in, Charset cs) Reads one-per-line stopword entries fromin(whitespace separates tokens of a multi-word entry; blank and#-prefixed lines are skipped) and schedules them for addition.Schedules removal of one entry (applied after all adds atbuild()time).DictionaryStopwordFilter.Builder.removeAll(Collection<String[]> entries) Schedules a bulk of removals.