$KALDI_ROOT/src/lmbin is missing in path.sh in some of the examples

74 views
Skip to first unread message

Andrey Simanovsky

unread,
Mar 25, 2016, 9:48:28 PM3/25/16
to kaldi-help
Hi,

It seems that after arpa rewrite $KALDI_ROOT/src/lmbin was added only to some of the path.sh files in the examples. For instance, it is not present in gale_arabic, gale_mandarin, and fisher_english. As a result, fisher_english script breaks after it fails to find arpa2fst.

With best regards,
Andrey Simanovsky

Jan Trmal

unread,
Mar 25, 2016, 10:14:33 PM3/25/16
to kaldi-help

Thanks for reporting this.  I'm working on refactoring the way how path.sh works,  so I'll fix it soon.  Thanks.
Y.

--
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Povey

unread,
Mar 25, 2016, 10:21:18 PM3/25/16
to kaldi-help
Yenda, I think we should patch the recipes where it's missing if the bigger fix will take more than a day or so.
Dan

Jan Trmal

unread,
Mar 25, 2016, 10:24:44 PM3/25/16
to kaldi-help

Ok,  I'll do it tomorrow. Y

Jan Trmal

unread,
Mar 26, 2016, 6:12:12 PM3/26/16
to kaldi-help
@danpovey I propose a this fix:
Instead of doing all the changes we were discussing and instead of fixing the faulty path.sh "the old way", I could create the 
[kaldi]/src/path.sh and then source that file in every path.sh including cleaning up the recipe's local PATH so that it does not include the components $KALDI_ROOT/src/*, but it would still include the components from $KALDI_ROOT/tools
This is manageable fairly quickly and it's halfway in our plans. What do you think?

The gale_mandarin, for example, would look like this after modifications:

export KALDI_ROOT=$(pwd)/../../..

export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH

. $KALDI_ROOT/src/path.sh

export LC_ALL=C


y.

Daniel Povey

unread,
Mar 26, 2016, 6:20:19 PM3/26/16
to kaldi-help
makes sense.

Daniel Povey

unread,
Mar 27, 2016, 3:10:24 PM3/27/16
to kaldi-help
OK, the issue should be fixed now.
Dan

Reply all
Reply to author
Forward
0 new messages