Hi,
I've installed the latest version of Moses; when testing with the sample model, 
moses fails to translate
giving the message below. Binary phrase table files have been created in the 
phrase-model directory.

Thanks for any help,
/Lars

l...@lah-laptop:~/mosesdecoder/sample-models/phrase-model$ 
~/mosesdecoder/moses-cmd/src/moses -f moses.ini < in

Defined parameters (per moses.ini or switch):
        DPR-file: DPR-file.txt 
        config: moses.ini 
        input-factors: 0 
        lmodel-file: 0 0 3 
/home/lah/mosesdecoder/sample-models/lm/europarl.srilm.gz 
        mapping: T 0 
        n-best-list: nbest.txt 100 
        ttable-file: 1 0 0 1 
/home/lah/mosesdecoder/sample-models/phrase-model/phrase-table 
        ttable-limit: 10 
        weight-DPR: 3 
        weight-d: 1 
        weight-l: 1 
        weight-t: 1 
        weight-w: 0 
Loading lexical distortion models...have 0 models
Start loading LanguageModel 
/home/lah/mosesdecoder/sample-models/lm/europarl.srilm.gz : [0.000] seconds
Finished loading LanguageModels : [2.000] seconds
Start loading PhraseTable 
/home/lah/mosesdecoder/sample-models/phrase-model/phrase-table : [2.000] seconds
filePath: /home/lah/mosesdecoder/sample-models/phrase-model/phrase-table
Finished loading phrase tables : [2.000] seconds
IO from STDOUT/STDIN
Created input-output object : [2.000] seconds
Translating: das ist ein kleines haus 

reading bin ttable
size of OFF_T 8
binary phrasefile loaded, default OFF_T: -1
lt-moses: TargetPhrase.cpp:146: void Moses::TargetPhrase::SetScore(const 
Moses::ScoreProducer*, const Moses::Scores&, const std::vector<float, 
std::allocator<float> >&, float, const Moses::LMList&): Assertion 
`weightT.size() == scoreVector.size()' failed.
Avbruten (SIGABRT)


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

Reply via email to