VideoContentSearchTokenAlignment

GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTokenAlignment


Table of Contents ▼

Jump to a specific part of the page:

Description

Token by token mapping between hypothesis text and reference text.

Attributes List

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

View Attributes

Attributes

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

Type

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

Function

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

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