google_api_language v0.1.1 GoogleApi.Language.V1.Model.AnalyzeSentimentResponse View Source
The sentiment analysis response message.
Attributes
- documentSentiment (Sentiment): The overall sentiment of the input document. 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]): The sentiment for all the sentences in the document. 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.AnalyzeSentimentResponse{
documentSentiment: GoogleApi.Language.V1.Model.Sentiment.t(),
language: any(),
sentences: [GoogleApi.Language.V1.Model.Sentence.t()]
}
t() :: %GoogleApi.Language.V1.Model.AnalyzeSentimentResponse{ documentSentiment: GoogleApi.Language.V1.Model.Sentiment.t(), language: any(), sentences: [GoogleApi.Language.V1.Model.Sentence.t()] }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.