Hi all,
I use IRST LM Toolkit to build huge LM. I receive the *lm.irst.gz* and then
I convert into compact binary format *lm.blm* with command
compile-lm language-model.srilm language-model.blm
Then, I use Memory Mapping to directly access the (binary) LM file stored on
the hard disk by add suffix .*mm *to lm.*blm*
When running moses under Fedora Server core 8, I get error :
./moses -f moses.ini
Defined parameters (per moses.ini or switch):
config: moses.ini
distortion-file: 0-0 msd-bidirectional-fe 6
/home/viegrid/working/Decoder/corpus_22112008_400k/bin/reordering-table.msd-bidirectional-fe.0.5.0-0.gz
distortion-limit: 6
input-factors: 0
lmodel-file: 1 0 5 /home/viegrid/working/Data/Huge-Lm/
lm_22112008_irst.blm.mm
mapping: 0 T 0
ttable-file: 0 0 5
/home/viegrid/working/Decoder/corpus_22112008_400k/bin/phrase-table.0-0.gz
ttable-limit: 20 0
weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
weight-l: 0.5000
weight-t: 0.2 0.2 0.2 0.2 0.2
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
binary file loaded, default OFF_T: -1
Created lexical orientation reordering
Start loading LanguageModel /home/viegrid/working/Data/Huge-Lm/
lm_22112008_irst.blm.mm : [0.000] seconds
In LanguageModelIRST::Load: nGramOrder = 5
Loading LM file (no MAP)
blmt
loadbin()
cannot open /home/viegrid/working/Data/Huge-Lm/lm_22112008_irst.blm.mm
dying
terminate called after throwing an instance of 'std::runtime_error'
what(): dying
Aborted
Would you please tell me What happen with my decoding? Why it cannot read
the /home/viegrid/working/Data/Huge-Lm/lm_22112008_irst.blm.mm file
(pathfile is correct).
Thanks,
--
Vip
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support