Package opennlp.tools.util
package opennlp.tools.util
Package containing utility data structures and algorithms used by multiple other packages.
-
ClassDescriptionA base
ObjectStreamimplementation for events.A baseObjectStreamimplementation.Base class for all toolfactories.Interface for context generators used with a sequence beam search.Cache<K,V> Provides fixed size, pre-allocated, least recently used replacement cache.AnObjectStreamimplementation that works on aCollectionofCollectionObjectStreamas source for elements.This class facilitates the downloading of pretrained OpenNLP models.The type of model.FilterObjectStream<S,T> Abstract base class for filteringstreams.Allows repeated reads through a stream for certain model building types.This exception indicates that the provided training data is insufficient to train a desired model.This exception indicates that a resource violates the expected data format.A factory that createsMarkableFileInputStreamfrom aFileThis is a non-thread safe mutable int.ObjectStream<T>Readsobjectsfrom a stream.AFilterObjectStreamwhich merges text lines into paragraphs.Reads a plain text file and returns each line as aStringobject.This interface makes anIteratorresettable.An iterator for a list which returns values in the opposite order as the typical list iterator.Represents a weighted sequence of outcomes.A codec for sequences of typeSequenceCodec.Class for storing start and end integer offsets.AStringListis an immutable list ofStrings.Declares and handles default parameters used for or during training models.TheVersionclass represents the OpenNLP Tools library version.