# Package opennlp.tools.util

package opennlp.tools.util

- Related Packages
  Package
  Description
  opennlp.tools.util.eval
  opennlp.tools.util.ext
  opennlp.tools.util.featuregen
  opennlp.tools.util.java
  opennlp.tools.util.jvm
  opennlp.tools.util.model
  opennlp.tools.util.normalizer
  opennlp.tools.util.wordvector
- Class
  Description
  AbstractObjectStream<T>
  A base `ObjectStream` implementation.
  BeamSearchContextGenerator<T>
  Interface for context generators used with a sequence beam search.
  Cache<K,V>
  Provides fixed size, pre-allocated, least recently used replacement cache.
  InputStreamFactory
  Allows repeated reads through a stream for certain model building types.
  InsufficientTrainingDataException
  This exception indicates that the provided training data is insufficient to train a desired model.
  InvalidFormatException
  This exception indicates that a resource violates the expected data format.
  LanguageCodeValidator
  Validates language codes against ISO 639 standards.
  ObjectStream<T>
  Reads `objects` from a stream.
  ObjectStreamUtils
  Parameters
  PlainTextByLineStream
  Reads a plain text file and returns each line as a `String` object.
  ResetableIterator<E>
  This interface makes an `Iterator` resettable.
  ReverseListIterator<T>
  An iterator for a list which returns values in the opposite order as the typical list iterator.
  Sequence
  Represents a weighted sequence of outcomes.
  SequenceCodec<T>
  A codec for sequences of type `SequenceCodec`.
  SequenceValidator<T>
  Span
  Class for storing start and end integer offsets.
  StringUtil
  TokenTag
  TrainingConfiguration
  Configuration used for model training.
  WhitespaceMode
  Selects the whitespace definition used by `StringUtil.isWhitespace(char)` and `StringUtil.isWhitespace(int)`: the Unicode `White_Space` property, or OpenNLP's legacy definition from 1.x/2.x.