View Source GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchCaptionSpanAnchorFeatures (google_api_content_warehouse v0.4.0)

Attributes

  • dolphinFeatures (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchSpanDolphinFeatures.t, default: nil) - The features used to construct the inference example.
  • dolphinScores (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchSpanDolphinScores.t, default: nil) - The inference result from the Dolphin span model.
  • embeddingDistance (type: list(number()), default: nil) - Embedding distances (e.g. cosine distance) to the other anchors of the same video.
  • postGapInMs (type: integer(), default: nil) - Time gap in ms to the next anchor. Always positive number.
  • preGapInMs (type: integer(), default: nil) - Time gap in ms to the previous anchor. Always a positive number.
  • saftBeginTokenIndex (type: integer(), default: nil) - The range of tokens in video_info.saft_doc for the anchor label.
  • saftEndTokenIndex (type: integer(), default: nil) -
  • saftTranscriptEndCharOffset (type: integer(), default: nil) -
  • saftTranscriptStartCharOffset (type: integer(), default: nil) - The range of characters in video_info.saft_transcript for the anchor label.
  • spanAsrConfidenceStats (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchMetricStats.t, default: nil) - A summary of the ASR confidence for the selected candidate.
  • spanDolphinScore (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchMetricStats.t, default: nil) - A summary of the Dolphin span token scores for the selected candidate.
  • wordCount (type: integer(), default: nil) - Word count of the span text, tokenized with SAFT.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchCaptionSpanAnchorFeatures{
    dolphinFeatures:
      GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchSpanDolphinFeatures.t()
      | nil,
    dolphinScores:
      GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchSpanDolphinScores.t()
      | nil,
    embeddingDistance: [number()] | nil,
    postGapInMs: integer() | nil,
    preGapInMs: integer() | nil,
    saftBeginTokenIndex: integer() | nil,
    saftEndTokenIndex: integer() | nil,
    saftTranscriptEndCharOffset: integer() | nil,
    saftTranscriptStartCharOffset: integer() | nil,
    spanAsrConfidenceStats:
      GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchMetricStats.t()
      | nil,
    spanDolphinScore:
      GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchMetricStats.t()
      | nil,
    wordCount: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.