wav2letter icon indicating copy to clipboard operation
wav2letter copied to clipboard

How to get timestamp of each word ?

Open manojmsrit opened this issue 5 years ago • 3 comments
trafficstars

I would like to know is there any possible way we can get the timestamp of each word using wave2letter architecture? If so, how should we do it, please let me know regarding the same

manojmsrit avatar Oct 05 '20 08:10 manojmsrit

Please have a look at this tool https://github.com/facebookresearch/wav2letter/tree/v0.2/tools#voice-activity-detection-with-ctc--an-n-gram-language-model

tlikhomanenko avatar Oct 07 '20 06:10 tlikhomanenko

Also, @manojmsrit, take a look at WordUnit class. It is being used inside this utility function to print words, you can modify it to print timestamps as well.

abhinavkulkarni avatar Nov 17 '20 09:11 abhinavkulkarni

@manojmsrit: You may also want to read the discussion here.

abhinavkulkarni avatar Nov 17 '20 09:11 abhinavkulkarni