New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextGrid file isn't according to spec #32
Comments
Hi we use |
Yes, you're correct. I initially used Textgrid(file) method which results in error. After using .load(file) method everything is fine. Though I wonder why lab files (created using KALDI) are showing timestamps in ms, and praat in seconds?
|
I think the time stamp by Kaldi might not be in ms. It looks like the number of samples to me. Maybe you can verify this by dividing it by the sampling rate to see if it's the case. If this is ms, the sounds are way too long. |
Cheers, I'll check your suggestion. |
Could you check if .textgrid file produced is according to spec?
i'm using this https://github.com/nltk/nltk_contrib/blob/95d1806e2f4e89e960b76a685b1fba2eaa7d5142/nltk_contrib/textgrid.py to test generated textgrid files.
The text was updated successfully, but these errors were encountered: