google_api_language v0.7.0 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

Link to this type

t()

View Source
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
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.