Package opennlp.tools.util
package opennlp.tools.util
Package containing utility data structures and algorithms used by multiple other packages.
-
ClassDescriptionBase class for all tool factories.Interface for context generators used with a sequence beam search.Cache<K,
V> Provides fixed size, pre-allocated, least recently used replacement cache.FilterObjectStream<S,T> Abstract base class for filteringObjectStreams.Allows repeated reads through a stream for certain types of model building.This exception indicates that the provided training data is insufficient to train the 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>ReadsObjects from a stream.Stream filter which merges text lines into paragraphs.Reads a plain text file and return each line as aStringobject.This interface makes anIteratorresetable.An iterator for a list which returns values in the opposite order as the typical list iterator.Represents a weighted sequence of outcomes.Class for storing start and end integer offsets.TheStringListis an immutable list ofStrings.TheVersionclass represents the OpenNlp Tools library version.