Skip to content
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

Failed to draw-tree #4959

Open
lifeiteng opened this issue Nov 21, 2024 · 1 comment
Open

Failed to draw-tree #4959

lifeiteng opened this issue Nov 21, 2024 · 1 comment
Labels

Comments

@lifeiteng
Copy link
Contributor

This is a biphone tree

errors

ERROR (draw-tree[5.5.1162~1-4a8b7]:ExpectToken():io-funcs.cc:209) Expected token "NULL", got instead "TE".
# gmm-init-biphone $tie_opts $ci_opt $shared_phones_opt $lang/phones/topo 80 $dir/0.mdl $lang/tree
copy-tree --binary=false tree  tree.txt
draw-tree phones.txt tree | dot -Tpdf >tree.pdf

files
data.zip

@lifeiteng lifeiteng added the bug label Nov 21, 2024
@danpovey
Copy link
Contributor

Thanks for the bug report. This does seem to be a genuine, and long-standing, bug: an older version of draw-tree that I compiled some time ago fails on your "tree" input, while copy-tree works so it should be a valid input.
This is not urgent, though, since draw-tree is not actually needed for any Kaldi workflow. So I'll wait to see if someone (possibly @vdp if he is feeling like a diversion at some point) wants to deal with this. But it's not urgent at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants