Skip to main content

Pyannote Diarizer

@mgreten/pyannote-diarizerv2026.10.14.1· MIT(was none)· 12d agoBEHAVIORS
01README

Apply pyannote/speaker-diarization-3.1 to a Whisper transcript JSON and tag each segment with a speaker label. Requires Python + pyannote.audio and a Hugging Face token (gated model). Falls back gracefully — a failed diarization never blocks the pipeline; the original transcript is returned unchanged.

02Behaviors1
@mgreten/pyannote-diarizerv2026.07.16.1pyannote_diarizer.ts
fn diarize(transcriptJson: string, audioPath: string, instanceName?: string)
Apply pyannote speaker diarization to a Whisper transcript. Falls back gracefully on error.
ArgumentTypeDescription
transcriptJsonstringWhisper JSON transcript content
audioPathstringAbsolute path to the source audio file
instanceName?stringResource instance name

Resources

diarizedTranscript(infinite)— Whisper transcript with speaker labels (or original on fallback)
03Previous Versions7
2026.07.16.1

Rebuild against swamp CLI 20260716

2026.06.27.1

Added 1, removed 1 behaviors

2026.05.28.5
2026.05.28.4
2026.05.28.3
2026.05.28.2
2026.05.28.1
04Stats
A
100 / 100
Downloads
38
Archive size
6.1 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
05Platforms
06Labels