m-bain/whisperX

Convert arabic numerals and symbols to phonetic form

Open

#38 opened on Jan 25, 2023

 (2 comments) (0 reactions) (0 assignees)Python (2,384 forks)batch import
help wanted

Repository metrics

Stars
 (23,595 stars)
PR merge metrics
 (Avg merge 61d 7h) (2 merged PRs in 30d)

Description

Currently arabic numerals and symbols in whisper transcript cannot be aligned, needs to be phonetic alphabet.

Need to perform inverse of normalization in https://github.com/m-bain/whisperX/blob/main/whisperx/normalizers/english.py

Such that numbers and currencies are converted to their phonetic word form.

E.g. "$300" -> "three hundred dollars"

To perform wav2vec alignment.

Then convert back to symbol form, and assign timestamps.

Contributor guide