SpeechS3LanguageIdentificationResult

GoogleApi.ContentWarehouse.V1.Model.SpeechS3LanguageIdentificationResult


Table of Contents ▼

Jump to a specific part of the page:

Description

Response proto for the LangId service running on a Greco server in prod. Next Tag: 6

Attributes List

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

View Attributes

Attributes

  1. endTimeUsec (type: String.t, default: nil)
    - The end time of the input audio that this result refers to. This value should increase across LanguageIdentificationResult emitted by the Greco server running LangId, and reflects the server having processed more of the input audio.
  2. rankedTopSupportedLanguages (type: list(GoogleApi.ContentWarehouse.V1.Model.SpeechS3Locale), default: nil)
    - Ranked list of top-N language codes. Ranking is based on ConfidenceIntervals of supported languages, and N is defined in the LanguageIdentificationConfig.
  3. startTimeUsec (type: String.t, default: nil)
    - Global start time. This value should be fixed across all LanguageIdentificationResults for a given utterance.
  4. topLanguageConfidence (type: String.t, default: nil)
    - Confidence interval of the top recognized language.
  5. voicedUtterance (type: boolean(), default: nil)
    - Identifies when the provided audio sample does or doesn't contain voiced samples. E.g. an unvoice utterance happens when the EOS signal is received before any frame because all frames were filtered by the endpointer. For events where voiced_utterance is false, ranked_top_supported_languages is defined but scores are not to be trusted. All LanguageIdentificationResults contains a valid value of voiced_utterance.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SpeechS3LanguageIdentificationResult{
endTimeUsec: String.t() | nil,
rankedTopSupportedLanguages: [GoogleApi.ContentWarehouse.V1.Model.SpeechS3Locale.t()] | nil,
startTimeUsec: String.t() | nil,
topLanguageConfidence: String.t() | nil,
voicedUtterance: boolean() | nil
}

Function

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

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