TransliterableScript Class
- java.
lang. Object - com.
azure. ai. translation. text. models. LanguageScript - com.
azure. ai. translation. text. models. TransliterableScript
- com.
- com.
public final class TransliterableScript
extends LanguageScript
Script definition with list of script into which given script can be translitered.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Transliterable |
fromJson(JsonReader jsonReader)
Reads an instance of Transliterable |
|
List<Language |
getToScripts()
Get the to |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from LanguageScript
Methods inherited from java.lang.Object
Method Details
fromJson
public static TransliterableScript fromJson(JsonReader jsonReader)
Reads an instance of TransliterableScript from the JsonReader.
Parameters:
Returns:
Throws:
getToScripts
public List<LanguageScript> getToScripts()
Get the toScripts property: List of scripts available to convert text to.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TransliterableScript.toJson(JsonWriter jsonWriter)Parameters:
Throws: