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