It looks like you meant 1 0 3, not 0 1 3, for lmodel-file.

Kenneth

On 04/23/2012 12:59 AM, Yared Mekuria wrote:
> Defined parameters (per moses.ini or switch):
>         config: works/model/moses-bin.ini
>         distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6
> /home/admin1/works/model/reordering-table.wbe-msd-bidirectional-fe
>         distortion-limit: 6
>         input-factors: 0
>         lmodel-file: 0 1 3 /home/admin1/works/lm/news-commentary.blm.mm
>         mapping: 0 T 0
>         ttable-file: 0 0 0 5 /home/admin1/works/model/phrase-table
>         ttable-limit: 20
>         weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
>         weight-l: 0.5000
>         weight-t: 0.20 0.20 0.20 0.20 0.20
>         weight-w: -1
> Loading lexical distortion models...have 1 models
> Creating lexical reordering...
> weights: 0.300 0.300 0.300 0.300 0.300 0.300
> Loading table into memory...done.
> Start loading LanguageModel
> /home/admin1/worked/lm/news-commentary.blm.mm : [40.000] seconds
> ERROR:Language model type unknown. Probably not compiled into library
> ERROR:no LM created. We probably don't have it compiled
>
>
> On 4/22/12, Yared Mekuria<[email protected]>  wrote:
>> the step to train the model end up with the moses.ini, phrase-table,
>> reordering-table.
>>
>> I use the command below to check trained model
>>
>> echo "c' est une petite maison ." | TMP=/tmp
>> mose/moses/moses-cmd/src/moses -f works/model/moses-bin.ini
>>
>> Defined parameters (per moses.ini or switch):
>>      config: works/model/moses-bin.ini
>>      distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6
>> /home/admin1/works/model/reordering-table.wbe-msd-bidirectional-fe
>>      distortion-limit: 6
>>      input-factors: 0
>>      lmodel-file: 0 1 3 /home/admin1/works/lm/pnaw-full.en.blm.mm
>>      mapping: 0 T 0
>>      ttable-file: 0 0 0 5 /home/admin1/works/model/phrase-table
>>      ttable-limit: 20
>>      weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
>>      weight-l: 0.5000
>>      weight-t: 0.20 0.20 0.20 0.20 0.20
>>      weight-w: -1
>> Loading lexical distortion models...have 1 models
>> Creating lexical reordering...
>> weights: 0.300 0.300 0.300 0.300 0.300 0.300
>> Loading table into memory...done.
>> Start loading LanguageModel
>> /home/admin1/worked/lm/news-commentary.blm.mm : [40.000] seconds
>> ERROR:Language model type unknown. Probably not compiled into library
>> ERROR:no LM created. We probably don't have it compiled
>>
>> any one with suggestion please forward.
>>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to