[][src]Struct gcp_client::google::cloud::dialogflow::v2::SpeechWordInfo

pub struct SpeechWordInfo {
    pub word: String,
    pub start_offset: Option<Duration>,
    pub end_offset: Option<Duration>,
    pub confidence: f32,
}

Information for a word recognized by the speech recognizer.

Fields

word: String

The word this info is for.

start_offset: Option<Duration>

Time offset relative to the beginning of the audio that corresponds to the start of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.

end_offset: Option<Duration>

Time offset relative to the beginning of the audio that corresponds to the end of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.

confidence: f32

The Speech confidence between 0.0 and 1.0 for this word. A higher number indicates an estimated greater likelihood that the recognized word is correct. The default of 0.0 is a sentinel value indicating that confidence was not set.

This field is not guaranteed to be fully stable over time for the same audio input. Users should also not rely on it to always be provided.

Trait Implementations

impl Clone for SpeechWordInfo[src]

impl Debug for SpeechWordInfo[src]

impl Default for SpeechWordInfo[src]

impl Message for SpeechWordInfo[src]

impl PartialEq<SpeechWordInfo> for SpeechWordInfo[src]

impl StructuralPartialEq for SpeechWordInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]