public final class NameTranslationResponse extends Response
extendedInformation| Constructor and Description |
|---|
NameTranslationResponse(com.basistech.util.ISO15924 sourceScript,
com.basistech.util.LanguageCode sourceLanguageOfOrigin,
com.basistech.util.LanguageCode sourceLanguageOfUse,
String translation,
com.basistech.util.LanguageCode targetLanguage,
com.basistech.util.ISO15924 targetScript,
com.basistech.util.TransliterationScheme targetScheme,
Double confidence)
constructor for
TranslatedNamesResult |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
if the param is a translated name result, compare contents for equality
|
Double |
getConfidence()
get the confidence of the translation
|
com.basistech.util.LanguageCode |
getSourceLanguageOfOrigin()
get the code for the name's language of origin
|
com.basistech.util.LanguageCode |
getSourceLanguageOfUse()
get the code for the name's language of use
|
com.basistech.util.ISO15924 |
getSourceScript()
get the code for the script of the name to translate
|
com.basistech.util.LanguageCode |
getTargetLanguage()
get the code for the translation language
|
com.basistech.util.TransliterationScheme |
getTargetScheme()
get the transliteration scheme for the translation
|
com.basistech.util.ISO15924 |
getTargetScript()
get the code for the translation script
|
String |
getTranslation()
get the translation
|
int |
hashCode() |
getExtendedInformationpublic NameTranslationResponse(com.basistech.util.ISO15924 sourceScript,
com.basistech.util.LanguageCode sourceLanguageOfOrigin,
com.basistech.util.LanguageCode sourceLanguageOfUse,
String translation,
com.basistech.util.LanguageCode targetLanguage,
com.basistech.util.ISO15924 targetScript,
com.basistech.util.TransliterationScheme targetScheme,
Double confidence)
TranslatedNamesResultsourceScript - name's script codesourceLanguageOfOrigin - name's language of originsourceLanguageOfUse - name's language of usetranslation - translationtargetLanguage - target language codetargetScript - target script codetargetScheme - target transliteration schemeconfidence - confidence score for resultpublic com.basistech.util.ISO15924 getSourceScript()
public com.basistech.util.LanguageCode getSourceLanguageOfOrigin()
public com.basistech.util.LanguageCode getSourceLanguageOfUse()
public com.basistech.util.LanguageCode getTargetLanguage()
public com.basistech.util.ISO15924 getTargetScript()
public com.basistech.util.TransliterationScheme getTargetScheme()
public String getTranslation()
public Double getConfidence()
Copyright © 2014–2016 Basis Technology Corp.. All rights reserved.