VideoContentSearchShoppingOpinionsAnchorFeatures

GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchShoppingOpinionsAnchorFeatures


Table of Contents ▼

Jump to a specific part of the page:

Description

Features for an individual Shopping Opinions Anchor. This file is used for video anchor use case. Next Id: 34

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. asrForProConExtraction (type: String.t, default: nil)
    - The asr with sentence break that was used for pro/con extraction.
  2. snippetWordCount (type: integer(), default: nil)
    - The number of words in the ASR for the selected segment window.
  3. snippetQaScore (type: number(), default: nil)
    - The QA model score for the selected segment window against the question.
  4. anchorLabelSentiment (type: number(), default: nil)
    - The sentiment score of the anchor label, with range: [-1, 1]. If using Lumin Pro/Con tags as the anchor labels, the "Pro" Lumin tag will have a score of 1 and Con Lumin tag will have a score of -1.
  5. productNameFromTitle (type: String.t, default: nil)
    - The product name from title extracted by the grampus model.
  6. snippetSubSegmentQaScore (type: number(), default: nil)
    - The QA model score for the best sub segment against the question.
  7. anchorLabelFirstMentionPos (type: integer(), default: nil)
    - The first anchor_label mention position (word index, 0-based). It is computed from the snippet_sub_segment if exists. Otherwise it is computed from the snippet. It is not populated if there is no such mention.
  8. babelSimilarityScore (type: number(), default: nil)
    - The Babel similarity score between the snippet and the anchor label.
  9. conScore (type: number(), default: nil)
    - The classification score of the anchor being a con opinion.
  10. isPro (type: boolean(), default: nil)
    - Whether the anchor is classified as a pro opinion.
  11. luminAspectWordsMentions (type: integer(), default: nil)
    - The number of times words in Lumin aspect (that is not a stopword) being mentioned in the snippet.
  12. mumScore (type: number(), default: nil)
    - The score from the MUM model if the pro/con anchor is extracted by MUM.
  13. grampusScore (type: number(), default: nil)
    - The score from the Grampus model if the pro/con is extracted by Grampus.
  14. snippetSubSegment (type: String.t, default: nil)
    - The ASR for the best matched sub segment inside the selected segment.
  15. snippetSentimentScore (type: number(), default: nil)
    - The go/scarlett sentiment score of the selected segment window. Positive score represents positive sentiment. Negative score represents negative sentiment.
  16. luminAspect (type: String.t, default: nil)
    - The lumin aspect of the Pro/Con Lumin tag. e.g. "weight".
  17. question (type: String.t, default: nil)
    - The question used to score this video segment.
  18. snippetSubSegmentSentimentScore (type: number(), default: nil)
    - The go/scarlett sentiment score of the best matched sub segment. Positive score represents positive sentiment. Negative score represents negative sentiment.
  19. opinionsDolphinUsefulnessScore (type: number(), default: nil)
    -
  20. snippetSubSegmentWordCount (type: integer(), default: nil)
    - The number of words in the ASR for the best matched sub segment.
  21. mumProductAspect (type: String.t, default: nil)
    - The product aspect of the pro/con generated using the MUM model.
  22. luminScore (type: number(), default: nil)
    - The Lumin model score for the anchor label against the segment.
  23. isCon (type: boolean(), default: nil)
    - Whether the anchor is classified as a con opinion.
  24. anchorOrAspectWordsMentions (type: integer(), default: nil)
    - The number of times words in anchor label or Lumin aspect (that is not a stopword) being mentioned in the snippet. If a word exists in both anchor label and Lumin aspect, it shall be only counted once for a mention in the snippet.
  25. aspect (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchAspect, default: nil)
    - Product aspect being discussed by this Shopping Opinions.
  26. proScore (type: number(), default: nil)
    - The classification score of the anchor being a pro opinion.
  27. snippet (type: String.t, default: nil)
    - The ASR for the selected segment window.
  28. anchorOrAspectFirstMentionPos (type: integer(), default: nil)
    - The smaller number of anchor_label_first_mention_pos and lumin_aspect_first_mention_pos.
  29. isProConWhenExtractedFromMum (type: boolean(), default: nil)
    - True if the anchor is considered as pro or con when extracted from MUM.
  30. luminAspectFirstMentionPos (type: integer(), default: nil)
    - The first Lumin aspect mention position (word index, 0-based). It is computed from the snippet_sub_segment if exists. Otherwise it is computed from the snippet. It is not populated if there is no such mention.
  31. opinionsDolphinDescriptivenessScore (type: number(), default: nil)
    - Scores from Opinions Dolphin scorer. Opinions Dolphin scorer is built by finetuning the Dolphin-based Video Anchor Unified Scorer V2 on the Opinions anchors ratings. It outputs two scores, which are optimized for descriptiveness and usefulness ratings respectively. 'descriptiveness_score' measures how well the anchor label describes the video section. 'usefulness_score' measures how useful the anchor label is for jumping to an important section in the video. go/vs-opinions-migration-report
  32. anchorLabel (type: String.t, default: nil)
    - The anchor label.
  33. anchorLabelWordsMentions (type: integer(), default: nil)
    - The number of times words in anchor label (that is not a stopword) being mentioned in the snippet.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchShoppingOpinionsAnchorFeatures{
anchorLabel: String.t() | nil,
anchorLabelFirstMentionPos: integer() | nil,
anchorLabelSentiment: number() | nil,
anchorLabelWordsMentions: integer() | nil,
anchorOrAspectFirstMentionPos: integer() | nil,
anchorOrAspectWordsMentions: integer() | nil,
aspect: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchAspect.t() | nil,
asrForProConExtraction: String.t() | nil,
babelSimilarityScore: number() | nil,
conScore: number() | nil,
grampusScore: number() | nil,
isCon: boolean() | nil,
isPro: boolean() | nil,
isProConWhenExtractedFromMum: boolean() | nil,
luminAspect: String.t() | nil,
luminAspectFirstMentionPos: integer() | nil,
luminAspectWordsMentions: integer() | nil,
luminScore: number() | nil,
mumProductAspect: String.t() | nil,
mumScore: number() | nil,
opinionsDolphinDescriptivenessScore: number() | nil,
opinionsDolphinUsefulnessScore: number() | nil,
proScore: number() | nil,
productNameFromTitle: String.t() | nil,
question: String.t() | nil,
snippet: String.t() | nil,
snippetQaScore: number() | nil,
snippetSentimentScore: number() | nil,
snippetSubSegment: String.t() | nil,
snippetSubSegmentQaScore: number() | nil,
snippetSubSegmentSentimentScore: number() | nil,
snippetSubSegmentWordCount: integer() | nil,
snippetWordCount: integer() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchShoppingOpinionsAnchorFeatures