google_api_language v0.1.1 GoogleApi.Language.V1.Model.Sentence View Source
Represents a sentence in the input document.
Attributes
- sentiment (Sentiment): For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence. Defaults to:
null
. - text (TextSpan): The sentence text. 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.Sentence{
sentiment: GoogleApi.Language.V1.Model.Sentiment.t(),
text: GoogleApi.Language.V1.Model.TextSpan.t()
}
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
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.