public class IdentifiedLanguage extends Object
LanguageIdentification service| Constructor and Description |
|---|
IdentifiedLanguage(String id)
Instantiates a new language.
|
IdentifiedLanguage(String language,
double confidence)
Instantiates a new language.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getConfidence()
Gets the confidence.
|
String |
getId()
Gets the id.
|
String |
toString() |
public IdentifiedLanguage(String id)
id - the idpublic IdentifiedLanguage(String language, double confidence)
language - the languageconfidence - the confidenceCopyright © 2015. All rights reserved.