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
end_time: Option<String>
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.
word: Option<String>
Output only. The word corresponding to this set of information.
start_time: Option<String>
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.
speaker_tag: Option<i32>
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]
impl Default for WordInfo
impl Clone for WordInfo
[src]
impl Clone for WordInfo
fn clone(&self) -> WordInfo
[src]
fn clone(&self) -> WordInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for WordInfo
[src]
impl Debug for WordInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for WordInfo
[src]
impl Part for WordInfo