View Source GoogleApi.Language.V2.Model.Sentence (google_api_language v0.15.0)
Represents a sentence in the input document.
Attributes
-
sentiment
(type:GoogleApi.Language.V2.Model.Sentiment.t
, default:nil
) - For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence. -
text
(type:GoogleApi.Language.V2.Model.TextSpan.t
, default:nil
) - The sentence text.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Language.V2.Model.Sentence{ sentiment: GoogleApi.Language.V2.Model.Sentiment.t() | nil, text: GoogleApi.Language.V2.Model.TextSpan.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.