Deprecated List (Apache OpenNLP Tools 2.5.9 API)
Description: deprecated elements

# Deprecated API

## Contents

- Terminally Deprecated
- Methods
- Constructors
- Enum Constants

- Terminally Deprecated Elements
  Element
  Description
  opennlp.tools.formats.ad.ADNameSampleStream(InputStreamFactory, String, boolean)
  opennlp.tools.namefind.NameFinderEventStream.generateOutcomes(Span[], String, int)
  use the `BioCodec` implementation of the SequenceValidator instead!
  opennlp.tools.sentdetect.SentenceDetectorME.getSentenceProbabilities()
  Use `SentenceDetectorME.probs()` instead.
  opennlp.tools.tokenize.ThreadSafeTokenizerME.getProbabilities()
  Use `ThreadSafeTokenizerME.probs()` instead.
  opennlp.tools.tokenize.TokenizerME.getTokenProbabilities()
  Use `TokenizerME.probs()` instead.

- Deprecated Methods
  Method
  Description
  opennlp.tools.namefind.NameFinderEventStream.generateOutcomes(Span[], String, int)
  use the `BioCodec` implementation of the SequenceValidator instead!
  opennlp.tools.sentdetect.SentenceDetectorME.getSentenceProbabilities()
  Use `SentenceDetectorME.probs()` instead.
  opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME.getSentenceProbabilities()
  Use `ThreadSafeSentenceDetectorME.probs()` instead.
  opennlp.tools.tokenize.ThreadSafeTokenizerME.getProbabilities()
  Use `ThreadSafeTokenizerME.probs()` instead.
  opennlp.tools.tokenize.TokenizerME.getTokenProbabilities()
  Use `TokenizerME.probs()` instead.

- Deprecated Constructors
  Constructor
  Description
  opennlp.tools.formats.ad.ADNameSampleStream(InputStreamFactory, String, boolean)
  opennlp.tools.sentdetect.SentenceDetectorME(SentenceModel, Factory)
  Use a `SentenceDetectorFactory` to extend SentenceDetector functionality.
  opennlp.tools.util.featuregen.CachedFeatureGenerator(AdaptiveFeatureGenerator...)

- Deprecated Enum Constants
  Enum Constant
  Description
  opennlp.tools.parser.ParserEventTypeEnum.CHUNK
  opennlp.tools.parser.ParserEventTypeEnum.TAG