wer-cer-ru 0.1.0
wer-cer-ru compares a speech recognition transcript with a human-checked reference and reports word error rate (WER) and character error rate (CER). It aligns the two texts word by word and lists substitutions, deletions, insertions and the most frequent substitution pairs. Normalization is tuned for Russian. Case and punctuation are ignored, "ё" and "е" count as one letter, and timecodes, SRT numbering and speaker labels such as "Спикер 1:" are stripped. Bracketed notes like [неразборчиво] go too. Dropping hesitations ("э", "эм") and splitting hyphenated words are optional switches. The package has no dependencies and runs on Node.js 14 or newer. It ships a CLI (wer-cer-ru reference.txt hypothesis.txt, with --json and --ops) and a small API: score(), report(), normalize(). The same scoring runs in the browser as an online calculator and on Apify as an Actor for batch jobs. It is meant for people who test speech-to-text systems on their own recordings: interviews, meetings, lectures. Written at AudioVText, a speech-to-text service where Russian is the primary language.
| Tags | speech text-processing asr wer cer russian nodejs cli |
|---|---|
| License | MITL |
| State | initial |