Class IdentifiedLanguage

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.language_translator.v3.model.IdentifiedLanguage
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class IdentifiedLanguage
extends com.ibm.cloud.sdk.core.service.model.GenericModel
IdentifiedLanguage.
  • Constructor Details

    • IdentifiedLanguage

      public IdentifiedLanguage()
  • Method Details

    • getLanguage

      public String getLanguage()
      Gets the language.

      The language code for an identified language.

      Returns:
      the language
    • getConfidence

      public Double getConfidence()
      Gets the confidence.

      The confidence score for the identified language.

      Returns:
      the confidence