Closed AmirBraham closed 1 year ago
You can try to use whisper.timing.find_alignment().
@jianfch do you have some example code ? I'm not sure which params work best for the tokenizer and text_tokens
Try https://github.com/jianfch/stable-ts#alignment with the new update.
Is there an ability to use alignment via CLI? If so, where can I find the commands?
Is there an ability to use alignment via CLI? If so, where can I find the commands?
It was added in c90ff06bc55694034994010e05b5fc2f50070b03.
stable-ts audio.mp3 --align text.txt --language en
Hello , If I have an original transcript ( txt file ) , is there anyway to improve the timestamps generated using forced alignement or any other technique ? I tried playing with the inital prompt parameter but I can see any real improvement. Thanks for any help !