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

Token by token mapping between hypothesis text and reference text.

Attributes

  • hypothesisIndex (type: integer(), default: nil) - Index of the token in hypothesis text.
  • hypothesisToken (type: String.t, default: nil) - Token in hypothesis.
  • referenceIndex (type: integer(), default: nil) - Index of the word in reference.
  • referenceToken (type: String.t, default: nil) - Token in label.
  • tokenIsMatched (type: boolean(), default: nil) - Whether it's a perfect match.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTokenAlignment{
  hypothesisIndex: integer() | nil,
  hypothesisToken: String.t() | nil,
  referenceIndex: integer() | nil,
  referenceToken: String.t() | nil,
  tokenIsMatched: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.