/** * Diarization Error Rate (DER). * * DER = (false_alarm + missed_speech + speaker_confusion) / total_reference_speech_time * * Implementation: * - Discretize ref and hyp at a fixed step (default 10 ms) * - Find the optimal hyp->ref label mapping via Hungarian (greedy fallback for K>10) * - Compare per-frame */ import type { DiarizationSegment } from "../types.js"; export interface DerResult { der: number; missed: number; falseAlarm: number; confusion: number; totalRef: number; totalHyp: number; mapping: Map; } export declare function diarizationErrorRate(reference: DiarizationSegment[], hypothesis: DiarizationSegment[], step?: number): DerResult; //# sourceMappingURL=der.d.ts.map