Hi
It looks like you are following the Moses baseline instructions
(http://www.statmt.org/moses/?n=Moses.Baseline). It's not explained, but
step 5 should convert the IRSTLM iARPA file produced by step 4 to a
(standard) ARPA file. The following step will then binarise it with KenLM.
The command you ran is
/home/renu/Desktop/irstlm/bin/compile-lm --text yes
news-commentary-v8.fr-en.lm.en.gz news-commentary-v8.fr-en.arpa.en
I notice that someone added a "yes" to this command in the
documentation recently (November 13th). Does it work if you don't
include "yes"?
IRSTLM folks - can you clarify? Does the '--text' parameter require a
'yes' argument? The usage for the command suggests it does, but it used
to work without,
cheers - Barry
On 04/12/13 15:58, renubalyan wrote:
Hi,
I am building the baseline system based on Moses manual instructions.
I have installed Moses, GIZA++ and IRSTLM as mentioned in the manual.
The corpus preparation (tokenization, ...cleaning) steps also goes well.
However when I move to Language Model Training: I have some problems
I am following these steps:
1. mkdir ~/lm
2. cd ~/lm
3. /home/renu/Desktop/irstlm/bin/add-start-end.sh <
/home/renu/Desktop/corpus/news-commentary-v8.fr-en.true.en>
news-commentary-v8.fr-en.sb.en
4. export IRSTLM=/home/renu/Desktop/irstlm;
/home/renu/Desktop/irstlm/bin/build-lm.sh -i
news-commentary-v8.fr-en.sb.en -t ./tmp -p -s improved-kneser-ney -o
news-commentary-v8.fr-en.lm.en
5. /home/renu/Desktop/irstlm/bin/compile-lm --text yes
news-commentary-v8.fr-en.lm.en.gz news-commentary-v8.fr-en.arpa.en
Steps 1-4 work well but step 5 gives me -------(Warning:Too many
parameters)
I have searched the web for any possible solution but could not find any.
I am not able to move ahead, kindly help.
Thanks
Renu
-------------------------------------------------------------------------------------------------------------------------------
This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support