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

Attributes

  • hypothesisText (type: String.t, default: nil) - The hypothesis text that was used for the token overlap calculation.
  • hypothesisTextTime (type: String.t, default: nil) - The time in ms for the hypothesis_text.
  • referenceText (type: String.t, default: nil) -
  • scoringMethodName (type: String.t, default: nil) - Similarity scorer name.
  • similarityScore (type: number(), default: nil) - The similarity score given by the scoring method specified by the message scoring_method_name.
  • tokenMatchCount (type: integer(), default: nil) - Token by token matching stats. Exact matched token count.
  • tokenMatchPercent (type: number(), default: nil) - The token_overlap_count divided by the number of tokens in the hypothesis text.
  • wordAlignment (type: list(GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTokenAlignment.t), default: nil) - Word by word alignment.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTextSimilarityFeatures{
    hypothesisText: String.t() | nil,
    hypothesisTextTime: String.t() | nil,
    referenceText: String.t() | nil,
    scoringMethodName: String.t() | nil,
    similarityScore: number() | nil,
    tokenMatchCount: integer() | nil,
    tokenMatchPercent: number() | nil,
    wordAlignment:
      [GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTokenAlignment.t()]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.