Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SpeakerDiarizationConfig

import type { SpeakerDiarizationConfig } from "https://googleapis.deno.dev/v1/speech:v1.ts";

Config to enable speaker diarization.

interface SpeakerDiarizationConfig {
enableSpeakerDiarization?: boolean;
maxSpeakerCount?: number;
minSpeakerCount?: number;
readonly speakerTag?: number;
}

§Properties

§
enableSpeakerDiarization?: boolean
[src]

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

§
maxSpeakerCount?: number
[src]

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.

§
minSpeakerCount?: number
[src]

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.

§
readonly speakerTag?: number
[src]

Output only. Unused.