TransliteratedText Class
- java.
lang. Object - com.
azure. ai. translation. text. models. TransliteratedText
- com.
Implements
public final class TransliteratedText
implements JsonSerializable<TransliteratedText>
Transliterated text element.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Transliterated |
fromJson(JsonReader jsonReader)
Reads an instance of Transliterated |
| String |
getScript()
Get the script property: A string specifying the script used in the output. |
| String |
getText()
Get the text property: A string which is the result of converting the input string to the output script. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static TransliteratedText fromJson(JsonReader jsonReader)
Reads an instance of TransliteratedText from the JsonReader.
Parameters:
Returns:
Throws:
getScript
public String getScript()
Get the script property: A string specifying the script used in the output.
Returns:
getText
public String getText()
Get the text property: A string which is the result of converting the input string to the output script.
Returns: