public final class DetectLanguageInput extends Object
DetectLanguageInput model.| Constructor and Description |
|---|
DetectLanguageInput(String id,
String text)
Creates an input for detect language that will takes
id and document as required inputs. |
DetectLanguageInput(String id,
String text,
String countryHint)
Creates an input for detect language that will takes
id, document and countryHint. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountryHint()
Gets the countryHint property: The
countryHint property. |
String |
getId()
Gets the id property: Unique, non-empty document identifier.
|
String |
getText()
Gets the text property: The text property.
|
String |
toString() |
public DetectLanguageInput(String id, String text)
id and document as required inputs.id - Unique, non-empty document identifier.text - The text property.public DetectLanguageInput(String id, String text, String countryHint)
id, document and countryHint.id - Unique, non-empty document identifier.text - The text property.countryHint - Accepts two letter country codes specified by ISO 3166-1 alpha-2. Defaults to "US" if not
specified. To remove this behavior you can reset this parameter by setting this value to empty string
countryHint = "" or "none".public String getId()
public String getText()
public String getCountryHint()
countryHint property.countryHint value.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.