Struct google_speech1::WordInfo[][src]

pub struct WordInfo {
    pub end_time: Option<String>,
    pub word: Option<String>,
    pub start_time: Option<String>,
    pub speaker_tag: Option<i32>,
}

Word-specific information for recognized words.

This type is not used in any activity, and only used as part of another schema.

Fields

Output only. 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.

Output only. The word corresponding to this set of information.

Output only. 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.

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.

Trait Implementations

impl Default for WordInfo
[src]

Returns the "default value" for a type. Read more

impl Clone for WordInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for WordInfo
[src]

Formats the value using the given formatter. Read more

impl Part for WordInfo
[src]

Auto Trait Implementations

impl Send for WordInfo

impl Sync for WordInfo