Uses of Interface
opennlp.tools.stopword.StopwordFilter
Packages that use StopwordFilter
-
Uses of StopwordFilter in opennlp.tools.stopword
Classes in opennlp.tools.stopword that implement StopwordFilterModifier and TypeClassDescriptionfinal classAn immutable, thread-safeStopwordFilterbacked by an OpenNLPDictionary.Fields in opennlp.tools.stopword declared as StopwordFilterModifier and TypeFieldDescriptionprivate final StopwordFilterStopwordFilteringTokenizer.filterprivate final StopwordFilterStopwordFilterStream.filterFields in opennlp.tools.stopword with type parameters of type StopwordFilterModifier and TypeFieldDescriptionprivate static final Map<String, StopwordFilter> StopwordLists.BUNDLED_CACHECaches the immutable, thread-safe filters loaded from the bundled resources, keyed by normalized ISO 639-1 code, so that repeatedStopwordLists.forLanguage(String)calls do not re-read and re-parse the same classpath resource.Methods in opennlp.tools.stopword that return StopwordFilterModifier and TypeMethodDescriptionstatic StopwordFilterStopwordLists.forLanguage(String iso639Code) Returns a case-insensitiveStopwordFilterfor the given ISO 639 language code.static StopwordFilterStopwordLists.load(InputStream in, Charset cs, boolean caseSensitive) Loads a stopword filter from a caller-supplied input stream.private static StopwordFilterStopwordLists.loadBundled(String normalized) Constructors in opennlp.tools.stopword with parameters of type StopwordFilterModifierConstructorDescriptionStopwordFilteringTokenizer(Tokenizer delegate, StopwordFilter filter) Initializes aStopwordFilteringTokenizer.StopwordFilterStream(ObjectStream<String[]> samples, StopwordFilter filter) Initializes aStopwordFilterStream.