0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 1281
/ 1 Year ago, tue, march 14, 2023, 1:50:10
IRSTLM=$HOME/irstlm
I need help setting this variable up. Was wondering if this is correct syntax
IRSTLM=/home/user/irstlm
Is that possible to run from root? I need it to be done in root in order to access certain files, I can also add the rest of the command I am trying to run if you'd like to see the context it's being used inn.
New problem, don't know why but shouldn't this output the file with extension .arpa ? i dont seem to get that file and I require it to run the next command to finish compiling this program.
~/irstlm/bin/add-start-end.sh < ~/corpus/news-commentary-v7.fr-en.true.en > news-commentary-v7.fr-en.sb.en export IRSTLM=$HOME/irstlm; ~/irstlm/bin/build-lm.sh -i news-commentary-v7.fr-en.sb.en -t ./tmp -p -s improved-kneser-ney -o news-commentary-v7.fr-en.lm.en
Here is the full command:
/home/user/irstlm/bin/add-start-end.sh < /home/user/corpus/news-commentary-v7.fr-en.true.en > news-commentary-v7.fr-en.sb.en export IRSTLM=$HOME/irstlm; /home/user/irstlm/bin/build-lm.sh -i news-commentary-v7.fr-en.sb.en -t ./tmp -p -s improved-kneser-ney -o news-commentary-v7.fr-en.lm.en
More From » command-line