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 Summary
Constructors Constructor Description IdentifiedLanguage()
-
Method Summary
Modifier and Type Method Description Double
getConfidence()
Gets the confidence.String
getLanguage()
Gets the language.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
IdentifiedLanguage
public IdentifiedLanguage()
-
-
Method Details
-
getLanguage
Gets the language.The language code for an identified language.
- Returns:
- the language
-
getConfidence
Gets the confidence.The confidence score for the identified language.
- Returns:
- the confidence
-