TextDocumentInput Class

Definition

An input representing an individual text document to be analyzed by the Language service predictive model for a given operation. The document contains the document's id, the full text of the document, and the language that the document is written in.

public class TextDocumentInput : Azure.AI.TextAnalytics.TextAnalyticsInput
type TextDocumentInput = class
    inherit TextAnalyticsInput
Public Class TextDocumentInput
Inherits TextAnalyticsInput
Inheritance
TextDocumentInput

Constructors

TextDocumentInput(String, String)

Properties

Id

Gets the unique, non-empty identifier for the document.

(Inherited from TextAnalyticsInput)
Language

Gets or sets the language the input document is written in. This value is the two letter ISO 639-1 representation of the language (for example, "en" for English or "es" for Spanish).

Text

Gets the text of the document.

(Inherited from TextAnalyticsInput)

Applies to