Package version:

Interface TextDocumentInput

An object representing an individual text document to be analyzed by the Language service. The document contains a unique document ID, the full text of the document, and the language of the document's text.

Hierarchy

  • TextDocumentInput

Properties

Properties

id: string

A unique, non-empty document identifier.

language?: string

(Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. For Auto Language Detection, use "auto". If not set, use "en" for English as default.

text: string

The input text to process.

Generated using TypeDoc