[Moses-support] build 5gram with irstlm

2011-09-04 Thread Cyrine NASRI
Hello, I'm a new user with irstlm I want to build a 3gram with irstlm but i have an error message : ./build-lm.sh -i Texte_EN.txt -n 3 -o lm -k 3 Cleaning temporary directory stat ./build-lm.sh: 145: Syntax error: Bad fd number Can you help me please? Thanks Best Regards Cyrine

Re: [Moses-support] build 5gram with irstlm

2011-09-04 Thread Nicola Bertoldi
Use the full path for the input file and for the output file If this does not work, please run sh -x ./build-lm.sh -i Texte_EN.txt -n 3 -o lm -k 3 --verbose collect both STDERR and STDOUT and send all to me together with your input file (if not too big) best regards, Nicola Bertoldi On Sep