arpa2fst missing?

1,587 views
Skip to first unread message

emelie....@gmail.com

unread,
Apr 19, 2016, 9:28:46 AM4/19/16
to kaldi-help
Hi!

I'm running Sprakbanken script but with other training data. I recently had to install kaldi on a different computer and I'm now running into problem when computing G.fst because the script train_irstlm uses a script arpa2fst which now gives arpa2fst: command not found. 

In my previous install (on mac) (where everything ran smoothly) the arpa2fst was under src/bin, but if I look at this newer install(on ubuntu) there is no script arpa2fst under src/bin. 

I just wanted to make you aware of this, if there is something that has been changed or so. And of course also ask for advice if there is something you think I need to reinstall to get the missing script.

I guess it should be fine if I copy the arpa2fst from my previous install and just rerun the makefiles in src? 

Thanks in advance, 
Emelie Kullmann 




Rémi Francis

unread,
Apr 19, 2016, 9:55:10 AM4/19/16
to kaldi-help, emelie....@gmail.com
In the latest kaldi arpa2fst is inside src/lmbin.

emelie....@gmail.com

unread,
Apr 19, 2016, 10:00:15 AM4/19/16
to kaldi-help, emelie....@gmail.com
alright thanks alot! 

so probably one wants to add that to the path.sh of sprakbanken or in the path of the train_irlsm script then? i’m not to confident with github :) 

emelie....@gmail.com

unread,
Apr 19, 2016, 10:09:24 AM4/19/16
to kaldi-help, emelie....@gmail.com
just remember I changed the path.sh early in the install myself so it might already be in there actually, sorry in that case! 

Jan Trmal

unread,
Apr 19, 2016, 10:13:14 AM4/19/16
to kaldi-help, emelie....@gmail.com
Emelie, did you by any chance modify the path.sh? Lately we changed all the path.sh so they would provide all kaldi commands. The only reason I can imagine right away why you cannot execute some binaries would be that you did some local modifications to the path.sh and after "git pull" your modification could not be merged with the modifications of kaldi.
You can verify this by the output of "git status" It should not be mentioning any conflicts

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.

emelie....@gmail.com

unread,
Apr 19, 2016, 10:34:19 AM4/19/16
to kaldi-help, emelie....@gmail.com
yes exactly, i just copied the path.sh from what i had run on my previous install so that would explain it. 

I changed it back now and it runs again, so all on me for not paying more attention between installs, sorry!  

Feiteng Li

unread,
Apr 28, 2016, 10:04:07 AM4/28/16
to kaldi-help, emelie....@gmail.com
older version path.sh add $KALDI_ROOT/src/lm to PATH, change it $KALDI_ROOT/src/lmbin

BTW, a lot of changes about path.sh recently.

在 2016年4月19日星期二 UTC+8下午9:55:10,Rémi Francis写道:
Reply all
Reply to author
Forward
0 new messages