Hi Lingxiao
The error message shows what your problem is.
ERROR:Language model type unknown. Probably not compiled into library
ERROR:no LM created. We probably don't have it compiled
Your config file specifies language model type 1 (IRSTLM), but you
haven't compiled with IRSTLM. Either update your config file, or
recompile moses with '--with-irstlm=/path/to/irstlm'
cheers - Barry
On 03/10/13 14:47, Lingxiao WANG wrote:
Hi Barry
I use this command :
nohup nice $MOSES_BIN/mosesserver -xml-input exclusive -config
$TABLE_PATH/moses.ini --server-port 8001 --server-log
$TABLE_PATH/requests.log > $TABLE_PATH/output.log &
This is my log:
Defined parameters (per moses.ini or switch):
config: /home/marwen/GENERIC-FR-ZH/moses.ini.1
cube-pruning-pop-limit: 1000
input-factors: 0
inputtype: 3
lmodel-file: 1 0 5 /home/lingxiao/GENERIC-FR-ZH/fr-zh.binlm.1
mapping: 0 T 0 1 T 1
max-chart-span: 20 1000
non-terminals: X
search-algorithm: 3
ttable-file: 6 0 0 5 /home/lingxiao/GENERIC-FR-ZH/phrase-table.1 6 0 0
1 /home/lingxiao/GENERIC-FR-ZH/glue-grammar.1
ttable-limit: 20
weight-l: 0.200959
weight-t: 0.0380514 0.0274366 0.0451763 0.0118391 -0.160113 0.0155388
weight-w: -0.500886
xml-input: exclusive
/home/lingxiao/Moses-Decoder/bin
Loading lexical distortion models...have 0 models
Start loading LanguageModel /home/lingxiao/GENERIC-FR-ZH/fr-zh.binlm.1 :
[0.000304143] seconds
ERROR:Language model type unknown. Probably not compiled into library
ERROR:no LM created. We probably don't have it compiled
Mosesserver couldn't be started.
LX
Le 1 oct. 2013 à 22:54, Barry Haddow a écrit :
What happens when you try it with a hierarchical model? Could you
give the full command you are running and the output. It *should* work.
On 01/10/13 21:50, Similes wrote:
I have tried this one, like Hieu Hoang said, only for phrase based. : (
在 1 oct. 2013,22:34,Barry Haddow <[email protected]
<mailto:[email protected]>> 写道:
Try this
http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#ntoc28
On 01/10/13 21:31, Lingxiao WANG wrote:
在 1 oct. 2013,22:23,Barry Haddow <[email protected]
<mailto:[email protected]>> 写道:
But it's unlucky... It doesn't work with mosesserver : (
As far as I know, it does work.
It sounds a good news! Do you have some idea?
On 01/10/13 21:13, Similes wrote:
Hi
Not yet, I want to know that do you have some suggestions for that?
Because when we take about Chinese moses, we get the answer is
"Hierarchical model".
But it's unlucky... It doesn't work with mosesserver : (
Regards
Lingxiao
在 1 oct. 2013,21:49,Barry Haddow <[email protected]
<mailto:[email protected]>> 写道:
Hi Lingziao
Mosesserver should work with hierarchical models. Did you try
it? Was there a problem?
cheers - Barry
On 01/10/13 15:06, Hieu Hoang wrote:
i think only phrase-based model are supported by the mosesserver.
If you are able to extend it to hiero model, please send me
the code and i'll check it in
On 27 September 2013 22:13, Similes <[email protected]
<mailto:[email protected]>> wrote:
Hi, all
How could we let mosesserver to support hierarchical model?
Best regards
Lingxiao
_______________________________________________
Moses-support mailing list
[email protected] <mailto:[email protected]>
http://mailman.mit.edu/mailman/listinfo/moses-support
--
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support