google_api_language v0.7.0 GoogleApi.Language.V1.Model.EntityMention View Source
Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
Attributes
sentiment
(type:GoogleApi.Language.V1.Model.Sentiment.t
, default:nil
) - For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document.text
(type:GoogleApi.Language.V1.Model.TextSpan.t
, default:nil
) - The mention text.type
(type:String.t
, default:nil
) - The type of the entity mention.
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 Sourcet() :: %GoogleApi.Language.V1.Model.EntityMention{ sentiment: GoogleApi.Language.V1.Model.Sentiment.t(), text: GoogleApi.Language.V1.Model.TextSpan.t(), type: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.