GoogleApi.Speech.V1.Model.WordInfo (google_api_speech v0.23.1-beta-0.0.4) View Source

Word-specific information for recognized words.

Attributes

  • endTime (type: String.t, default: nil) - Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if enable_word_time_offsets=true and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.
  • speakerTag (type: integer(), default: nil) - Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only in the top alternative.
  • startTime (type: String.t, default: nil) - Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if enable_word_time_offsets=true and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.
  • word (type: String.t, default: nil) - The word corresponding to this set of information.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Speech.V1.Model.WordInfo{
  endTime: String.t() | nil,
  speakerTag: integer() | nil,
  startTime: String.t() | nil,
  word: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.