Hello,

I'm having problems running moses on ubuntu jaunty, gcc 4.3.3. I was 
following this guide: http://www.dlsi.ua.es/~mlf/fosmt-moses.html. 
GIZA++, srilm, moses were all compiled without problems. The training 
process also went well, but when I tried sample decoding, I got the 
error displayed bellow. I tried a different corpus as well, but got the 
same output.


-- 
Милош


mi...@misos-laptop:/media/work/misos/mt$ echo "Dwyedodd llefarydd ar ran 
y llywodraeth bod Rali GB Cymru i fod i gael statws Pencampwriaeth y Byd 
bob blwyddyn ." | tools/moses/moses-cmd/src/moses -t -v -f 
work/model/moses.ini

Defined parameters (per moses.ini or switch):
        config: work/model/moses.ini
        distortion-file: 0-0 msd-bidirectional-fe 6 
/media/work/misos/mt/work/model/reordering-table.gz
        distortion-limit: 6
        input-factors: 0
        lmodel-file: 0 1 3 /media/work/misos/mt/work/lm/pnaw-full.en.lm
        mapping: 0 T 0
        report-segmentation:
        ttable-file: 0 0 5 /media/work/misos/mt/work/model/phrase-table.gz
        ttable-limit: 20
        verbose:
        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
Loading table into memory...done.
Created lexical orientation reordering
Start loading LanguageModel /media/work/misos/mt/work/lm/pnaw-full.en.lm 
: [20.000] seconds
/media/work/misos/mt/work/lm/pnaw-full.en.lm: line 1113: warning: 
non-zero probability for <unk> in closed-vocabulary LM
Finished loading LanguageModels : [21.000] seconds
Start loading PhraseTable 
/media/work/misos/mt/work/model/phrase-table.gz : [21.000] seconds
filePath: /media/work/misos/mt/work/model/phrase-table.gz
Finished loading phrase tables : [86.000] seconds
IO from STDOUT/STDIN
Created input-output object : [86.000] seconds
Translating: Dwyedodd llefarydd ar ran y llywodraeth bod Rali GB Cymru i 
fod i gael statws Pencampwriaeth y Byd bob blwyddyn .

Collecting options took 0.010 seconds
moses: LanguageModelSRI.cpp:154: virtual float 
Moses::LanguageModelSRI::GetValue(const std::vector<const Moses::Word*, 
std::allocator<const Moses::Word*> >&, const void**, unsigned int*) 
const: Assertion `(*contextFactor[count-1])[factorType] != __null' failed.
Aborted

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to