kaldi icon indicating copy to clipboard operation
kaldi copied to clipboard

Failed to draw-tree

Open lifeiteng opened this issue 1 year ago • 2 comments

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 avatar Nov 21 '24 06:11 lifeiteng

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.

danpovey avatar Nov 21 '24 08:11 danpovey

This issue has been automatically marked as stale by a bot solely because it has not had recent activity. Please add any comment (simply 'ping' is enough) to prevent the issue from being closed for 60 more days if you believe it should be kept open.

stale[bot] avatar Apr 26 '25 02:04 stale[bot]