LanguageDetectionInput interface
An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language.
Properties
country |
A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. |
id | Unique, non-empty document identifier. |
text | Full text of the input document. |
Property Details
countryHint
A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language.
countryHint?: string
Property Value
string
id
Unique, non-empty document identifier.
id: string
Property Value
string
text
Full text of the input document.
text: string
Property Value
string
Azure SDK for JavaScript