Skip to content

Conversation

kalvinchang
Copy link

Currently, TextGrid.tiers is empty when faced with a file with tabs instead of spaces, such as CORAAL's forced alignment http://lingtools.uoregon.edu/coraal/aligned/.

from textgrid import TextGrid
file = "data/coraal/aligned/DCB_MFA_2019.06.19/DCB_se1_ag1_f_01_1.TextGrid"
grid = TextGrid(open(file).read())
print(grid.tiers)

is empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant