View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryAnnotationsMustangSentimentSnippetAnnotations (google_api_content_warehouse v0.4.0)
A conceptual structure for storing sentiment snippet information in mustang. Essentially an adaptation of PhraseAnnotationProperties from //repository/annotations/proto/annotations.proto.
Attributes
-
deprecatedMagnitude
(type:number()
, default:nil
) - Deprecated: use snippet_score instead -
deprecatedPolarity
(type:number()
, default:nil
) - Deprecated: use snippet_score instead -
end
(type:integer()
, default:nil
) - -
isTruncated
(type:boolean()
, default:nil
) - -
phraseType
(type:String.t
, default:nil
) - -
snippetScore
(type:integer()
, default:nil
) - -
snippetText
(type:String.t
, default:nil
) - This protobuffer is serving double duty as both a Mustang attachment and the response proto that gets returned by Mustang in the WWWSnippetResponse's info MessageSet. When stored as an attachment, this field will always be empty. However, when returned with the WWWSnippetResponse, Mustang will print and store the actual sentiment snippet's text here. -
start
(type:integer()
, default:nil
) - begin and end are token offsets.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryAnnotationsMustangSentimentSnippetAnnotations{ deprecatedMagnitude: number() | nil, deprecatedPolarity: number() | nil, end: integer() | nil, isTruncated: boolean() | nil, phraseType: String.t() | nil, snippetScore: integer() | nil, snippetText: String.t() | nil, start: integer() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.