Package version:

Interface LanguageDetectionInput

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.

Hierarchy

  • LanguageDetectionInput

Properties

Properties

countryHint?: string

A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language.

id: string

Unique, non-empty document identifier.

text: string

Full text of the input document.

Generated using TypeDoc