Transcript parser copied unchanged from the desktop MOSS-Transcribe-Diarize runner.
Upstream: https://github.com/OpenMOSS/MOSS-Transcribe-Diarize
License: Apache-2.0 (LICENSE).
