View Source GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchListTrainingDataAnchorFeatures (google_api_content_warehouse v0.3.0)

Anchor-level metadata about the description anchors used as list items to build training data for list anchors.

Attributes

  • descriptionAnchorTimeMs (type: integer(), default: nil) - The timestamp of when the description anchor is annotated to appear in the video in ms.
  • descriptionAnchorTimeToMatchedTimeMs (type: String.t, default: nil) - The time gap of when the description anchor is annotated to appear in the video (description_anchor_time_ms) from when it's matched in the ASR as the list anchor.
  • editDistance (type: integer(), default: nil) - Closest edit distance between the anchor generated by description span and the description anchor where the span anchor must be within small threshold time difference of the description anchor timestamp.
  • editDistanceRatio (type: number(), default: nil) - edit_distance over the description anchor's label length.
  • matchedDescriptionText (type: String.t, default: nil) - The description anchor text used for matching to Span anchor text.
  • matchedSpanText (type: String.t, default: nil) - The description span anchor text that was the best match for the nearby description anchor.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchListTrainingDataAnchorFeatures{
    descriptionAnchorTimeMs: integer() | nil,
    descriptionAnchorTimeToMatchedTimeMs: String.t() | nil,
    editDistance: integer() | nil,
    editDistanceRatio: number() | nil,
    matchedDescriptionText: String.t() | nil,
    matchedSpanText: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.