google_api_language v0.12.1 GoogleApi.Language.V1.Model.AnnotateTextResponse View Source
The text annotations response message.
Attributes
-
categories(type:list(GoogleApi.Language.V1.Model.ClassificationCategory.t), default:nil) - Categories identified in the input document. -
documentSentiment(type:GoogleApi.Language.V1.Model.Sentiment.t, default:nil) - The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment. -
entities(type:list(GoogleApi.Language.V1.Model.Entity.t), default:nil) - Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities. -
language(type:String.t, default:nil) - 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. -
sentences(type:list(GoogleApi.Language.V1.Model.Sentence.t), default:nil) - Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax. -
tokens(type:list(GoogleApi.Language.V1.Model.Token.t), default:nil) - Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Language.V1.Model.AnnotateTextResponse{
categories: [GoogleApi.Language.V1.Model.ClassificationCategory.t()],
documentSentiment: GoogleApi.Language.V1.Model.Sentiment.t(),
entities: [GoogleApi.Language.V1.Model.Entity.t()],
language: String.t(),
sentences: [GoogleApi.Language.V1.Model.Sentence.t()],
tokens: [GoogleApi.Language.V1.Model.Token.t()]
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.