google_api_language v0.12.1 GoogleApi.Language.V1.Model.Sentence View Source
Represents a sentence in the input document.
Attributes
-
sentiment(type:GoogleApi.Language.V1.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.V1.Model.TextSpan.t, default:nil) - The sentence text.
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.Sentence{
sentiment: GoogleApi.Language.V1.Model.Sentiment.t(),
text: GoogleApi.Language.V1.Model.TextSpan.t()
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.