public static final class IRecognitionCoreAPI.TranslationResult
extends java.lang.Object
TranslationResult
represents a translated text and mapping.
Substrings that can't be translated are left as is.Modifier and Type | Field and Description |
---|---|
int[] |
Mapping
Translation mapping.
|
java.lang.String |
TranslatedText
Translated string
|
Constructor and Description |
---|
TranslationResult(java.lang.String translatedText,
int[] mapping) |