[Moses-support] Tuning failure with “Language model type unknown.”
Hello,
I am currently trying to train a Moses system, which goes fine until the tuning step. I get the following error :
Creating lexical reordering…
weights: 0.111111 0.111111 0.111111 0.111111 0.111111 0.111111
binary file loaded, default OFF_T: -1
Created lexical orientation reordering
ERROR:Language model type unknown. Probably not compiled
into library
ERROR:no LM created. We probably don’t have it compiled
Exit code: 1
The decoder died. CONFIG WAS -w 0.000000 -lm 0.111111 -d
0.111111 0.111111 0.111111 0.111111 0.111111 0.111111 0.111111 -tm
0.033333 0.022222 0.033333 0.022222 0.000000
I have checked the archives of the mailing list, and couldn’t find anything to resolve the problem.
The language model line in the run1.moses.ini is the following
# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
1 0 5 /home/s0678231/disk1/mt-system/lm/europarl.binlm.1
Is anyone able to help with this ?
Thanks in advance,
Ronan
Re:[Moses-support] Tuning failure with “Language model type unknown.”
Hi Ronan
This is the problem:
> ERROR:Language model type unknown. Probably not compiled
> into library
You need to compile with irstlm in order to use a binarised language model.
See here for instructions:
http://www.statmt.org/moses/?n=Development.GetStarted
regards
Barry
Re:[Moses-support] Tuning failure with “Language model type unknown.”
Hi,
It was resolved by removing the lm-binarizer option in the config file.
Thanks for your answer,
Ronan
NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.
Related posts:
- Moses Support Digest:tuning tree-based models
- Moses Support Digest:Building POS language model with SRILM
- Moses Support Digest: Moses seems to hang
- Moses Support Digest:ConfusionNet GetSubString error when using lattice with UTF8 input
- Moses Support Digest: moses-irstlm memory racing with 5-gram lm
- Moses Support Digest:moses threads compilation problem with RandLM
- Moses Support Digest:GIZA++ error
- Moses Support Digest: moses install on 64-bit
- Moses Support Digest: cannot find -loolm
- Moses Support Digest:Error compiling on Linux