transcript_helpers.ts view source
<T extends TranscriptCandidate>(files: Iterable<T>, source_path: string): FoundTranscript<T>[] import {find_transcripts} from '@fuzdev/zzz/transcript_helpers.js'; Finds the transcript sidecars of the audio file at source_path among
files: the files beside it named <source name>.<model>.transcript.json
whose content says they were made from it. Sorted by model name.
files
the files to look through
Iterable<T, any, any>source_path
the audio file's absolute path
stringreturns
FoundTranscript<T>[]
generics
find_transcripts<T extends TranscriptCandidate>