Uses of Class
opennlp.tools.util.MutableInt
Packages that use MutableInt
Package
Description
Package related to predicting languages from samples of text.
-
Uses of MutableInt in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect that return types with arguments of type MutableIntModifier and TypeMethodDescriptionprivate Map<CharSequence, MutableInt> LanguageDetectorME.arrayToCounts(CharSequence[] context) Method parameters in opennlp.tools.langdetect with type arguments of type MutableIntModifier and TypeMethodDescriptionprivate Language[]LanguageDetectorME.predict(Map<CharSequence, MutableInt> ngramCounts) (package private) booleanLanguageDetectorME.seenEnough(List<Language[]> predictionsQueue, Language[] newPredictions, Map<CharSequence, MutableInt> ngramCounts, LanguageDetectorConfig config) Overriding this for different behavior to determine if there is enough confidence in the predictions to stop.private voidLanguageDetectorME.updateCounts(CharSequence[] context, Map<CharSequence, MutableInt> ngrams)