TextDocumentInput interface
An object representing an individual text document to be analyzed by the Text Analytics service. The document contains a unique document ID, the full text of the document, and the language of the document's text.
Properties
id | A unique, non-empty document identifier. |
language | (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, use "en" for English as default. |
text | The input text to process. |
Property Details
id
A unique, non-empty document identifier.
id: string
Property Value
string
language
(Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, use "en" for English as default.
language?: string
Property Value
string
text
The input text to process.
text: string
Property Value
string