Package opennlp.tools.ml
Interface Probabilistic
- All Known Implementing Classes:
ChunkerME,LemmatizerME,NameFinderME,POSTaggerME,SentenceDetectorME,ThreadSafeChunkerME,ThreadSafeLemmatizerME,ThreadSafeNameFinderME,ThreadSafePOSTaggerME,ThreadSafeSentenceDetectorME,ThreadSafeTokenizerME,TokenizerME
public interface Probabilistic
A marker interface for classes with probabilistic capabilities.
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]probs()Retrieves the probabilities of the last decoded sequence.
-
Method Details
-
probs
double[] probs()Retrieves the probabilities of the last decoded sequence.- Returns:
- An array with the same number of probabilities as tokens were sent to the computational method when it was last called.
-