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

Attributes

  • durationToPredictedTimeMs (type: String.t, default: nil) - The time gap of the matched_time_ms from the predicted timestamp of when this anchor should appear in the video.
  • matchScore (type: number(), default: nil) - The float similarty score from the anchor label to matched_asr_text.
  • matchedAsrStartPos (type: integer(), default: nil) - The start token offset from the beginning of ASR where matched_asr_text starts.
  • matchedAsrText (type: String.t, default: nil) - The ASR text that was a candidate match for the list anchor.
  • matchedAsrTimeMs (type: String.t, default: nil) - The timestamp of the matched ASR in the video in milliseconds.
  • matchedAsrTimeRatio (type: number(), default: nil) - The ratio of the matched_asr_time_ms over the total duration of the video.
  • matchedAsrTokenCount (type: integer(), default: nil) - The number of tokens in matched_asr_text
  • matchedDescriptionItemIndexRatio (type: number(), default: nil) - The ratio of the video description item index this match corresponds to over the total number of list description items for the video.
  • matchedDescriptionText (type: String.t, default: nil) - The video description text matched with the ASR that's used as the anchor label.
  • matchedDescriptionTokenCount (type: integer(), default: nil) - The number of tokens in matched_description_text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTextMatchInfo{
  durationToPredictedTimeMs: String.t() | nil,
  matchScore: number() | nil,
  matchedAsrStartPos: integer() | nil,
  matchedAsrText: String.t() | nil,
  matchedAsrTimeMs: String.t() | nil,
  matchedAsrTimeRatio: number() | nil,
  matchedAsrTokenCount: integer() | nil,
  matchedDescriptionItemIndexRatio: number() | nil,
  matchedDescriptionText: String.t() | nil,
  matchedDescriptionTokenCount: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.