Class DetectedLanguage


  • public class DetectedLanguage
    extends Object
    Bean holding a language and a detection certainty
    • Method Detail

      • getLangCode

        public String getLangCode()
        Returns the detected language code
        Returns:
        language code as a string
      • getCertainty

        public Double getCertainty()
        Returns the detected certainty for this language
        Returns:
        certainty as a value between 0.0 and 1.0 where 1.0 is 100% certain