Show / Hide Table of Contents

Class AnnotateTextResponse

The text annotations response message.

Inheritance
object
AnnotateTextResponse
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1.dll
Syntax
public class AnnotateTextResponse : IDirectResponseSchema

Properties

Categories

Categories identified in the input document.

Declaration
[JsonProperty("categories")]
public virtual IList<ClassificationCategory> Categories { get; set; }
Property Value
Type Description
IList<ClassificationCategory>

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

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

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
IList<Entity>

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
string

ModerationCategories

Harmful and sensitive categories identified in the input document.

Declaration
[JsonProperty("moderationCategories")]
public virtual IList<ClassificationCategory> ModerationCategories { get; set; }
Property Value
Type Description
IList<ClassificationCategory>

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
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
IList<Token>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX