Class AnnotateTextResponse
The text annotations response message.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1beta1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1beta1.dll
Syntax
public class AnnotateTextResponse : IDirectResponseSchema
Properties
DocumentSentiment
The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.
Declaration
[JsonProperty("documentSentiment")]
public virtual Sentiment DocumentSentiment { get; set; }
Property Value
Type | Description |
---|---|
Sentiment |
Entities
Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.
Declaration
[JsonProperty("entities")]
public virtual IList<Entity> Entities { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Entity> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Language
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.
Declaration
[JsonProperty("language")]
public virtual string Language { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Sentences
Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
Declaration
[JsonProperty("sentences")]
public virtual IList<Sentence> Sentences { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Sentence> |
Tokens
Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
Declaration
[JsonProperty("tokens")]
public virtual IList<Token> Tokens { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Token> |