Praat-textgrids
Praat-textgrids copied to clipboard
textgrids.TextGrid() doesn't seem to work for short form TextGrid file
textgrids.TextGrid() doesn't seem to work for short form TextGrid file. How to add a parameter to say that it is the short form when we use textgrids.TextGrid(filename) ?
I found a fix: The first 3 lines of the file have to be:
File type = "ooTextFile"
Object class = "TextGrid"
<the first number>
if your file follows this header, it should work
I see. So it only works for long format Textgrid. Thanks!