[][src]Struct gcp_client::google::cloud::speech::v1p1beta1::SpeakerDiarizationConfig

pub struct SpeakerDiarizationConfig {
    pub enable_speaker_diarization: bool,
    pub min_speaker_count: i32,
    pub max_speaker_count: i32,
    pub speaker_tag: i32,
}

Config to enable speaker diarization.

Fields

enable_speaker_diarization: bool

If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo.

min_speaker_count: i32

Minimum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 2.

max_speaker_count: i32

Maximum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 6.

speaker_tag: i32

Output only. Unused.

Trait Implementations

impl Clone for SpeakerDiarizationConfig[src]

impl Debug for SpeakerDiarizationConfig[src]

impl Default for SpeakerDiarizationConfig[src]

impl Message for SpeakerDiarizationConfig[src]

impl PartialEq<SpeakerDiarizationConfig> for SpeakerDiarizationConfig[src]

impl StructuralPartialEq for SpeakerDiarizationConfig[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]