Class LanguageIdResult


  • public class LanguageIdResult
    extends Object
    A Language Id Result object provides all the information associated with the result of a job.
    • Constructor Detail

      • LanguageIdResult

        public LanguageIdResult()
    • Method Detail

      • getTopLanguage

        public String getTopLanguage()
        Get the top language of the result.
        Returns:
        The top language of the result.
      • setTopLanguage

        public void setTopLanguage​(String topLanguage)
        Set the top language of the result.
        Parameters:
        topLanguage - the top language to be set for the result.
      • getLanguageConfidences

        public List<LanguageConfidence> getLanguageConfidences()
        Get the language confidences of the result.
        Returns:
        The language confidences of the result.
      • setLanguageConfidences

        public void setLanguageConfidences​(List<LanguageConfidence> languageConfidences)
        Set the language confidences of the result;
        Parameters:
        languageConfidences - the list of language confidences to be set for the result.