Closed akita1987 closed 8 years ago
How did you install the IRSTLM? Did it say something before this message? Did you call it in the tools directory, like this: $ extras/install_irstlm.sh?
y.
On Mon, Feb 22, 2016 at 4:54 AM, akita1987 notifications@github.com wrote:
After I install IRSTLM, it shows "Please source the tools/env.sh in your path.sh to enable it", but there is no env.sh file under directory /kaldi/tools/. How to solve the problem? Or is it just ok if I ignore this message? Thank you !
— Reply to this email directly or view it on GitHub https://github.com/kaldi-asr/kaldi/issues/515.
You can ignore the message, but we'll address it.
On Sun, May 15, 2016 at 11:51 AM, Jo Grimstad notifications@github.com wrote:
I can reproduce this (Debian 3.16.7-ckt25-2):
After installing (making) Kaldi, we're running the script for Wall Street Journal English:
cd egs/wsj/s5/ ./run.sh
local/wsj_data_prep.sh: Error: the IRSTLM is not available or compiled local/wsj_data_prep.sh: Error: We used to install it by default, but. local/wsj_data_prep.sh: Error: this is no longer the case. local/wsj_data_prep.sh: Error: To install it, go to /root/github/kaldi/egs/wsj/s5/../../../tools local/wsj_data_prep.sh: Error: and run extras/install_irstlm.sh
kaldi/tools/extras/install_irstlm.sh
*() Installation of IRSTLM finished successfully *() Please source the tools/env.sh in your path.sh to enable it
But there is no env.sh file in the fools folder. Any suggestions?
@BorjaArtamendi https://github.com/BorjaArtamendi
— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/kaldi-asr/kaldi/issues/515#issuecomment-219293581
oh,I have the same question,how do you solve it?? many thanks
Me too ! i don't what it means!
to source a file foo.sh in UNIX (assuming it's in the current diretory) means to do something like . ./foo.sh in BASH, although in other shells like C shell the syntax would be more like "source ./foo.sh". All the path.sh files currently do source env.sh, so you shouldn't have to take any action.
On Mon, Apr 16, 2018 at 6:57 PM, AlexWu1108 notifications@github.com wrote:
Me too ! i don't what it means!
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/515#issuecomment-381795655, or mute the thread https://github.com/notifications/unsubscribe-auth/ADJVu0rEu39XLj158N9ZVsBTd7FcgSQTks5tpT4HgaJpZM4HfZK6 .
The env.sh is not under tools/extras/. It is under tools/. So you just need to source env.sh. It just add irstlm path. Eg: export IRSTLM=/home/willen/Documents/kaldi/kaldi/tools/irstlm export PATH=${PATH}:${IRSTLM}/bin
if you open the env.sh you'll see the variables have already been set, so you can just ignore these
After I install IRSTLM, it shows "Please source the tools/env.sh in your path.sh to enable it", but there is no env.sh file under directory /kaldi/tools/. How to solve the problem? Or is it just ok if I ignore this message? Thank you !