hello,
I encountered an error when runing moses hierarchical model in the six step of
training.
score: score.cpp:434: void outputPhrasePair(std::vector<PhraseAlignment*,
std::allocator<PhraseAlignment
*> >&, float): Assertion `bestAlignment->alignedToT[ j ].size() == 1' failed.
ERROR: Execution of:
/home3/moses/scripts/target/scripts-20110527-1618/training/phrase-extract/score
/home3/moses-En2Ch-tec/_train/model/extract.sorted
/home3/moses-En2Ch-tec/_train/model/lex.f2e
/home3/moses-En2Ch-tec/_train/model/rule-table.half.f2e --Hierarchical
died with signal 6, without coredump
my arguments:
${mosesScript}/training/train-model.perl \
--scripts-root-dir "${mosesScript}" \
--root-dir "${trainDir}" \
--corpus "${dataDir}/${trainPrefix}" \
--f ${trainF} \
--e ${trainE} \
--max-phrase-length 7 \
--hierarchical \
--glue-grammar \
--alignment grow-diag-final-and \
--lm 0:5:"${lm}":0 \
--first-step 4 \
--parallel
some lines in extract.sorted :
! " ( [X] ||| ” ( [X] ||| 0-0 1-0 2-1 ||| 0.5
! " ( [X] ||| 模样 ” ( [X] ||| 0-1 1-1 2-2 ||| 0.333333
! " ( [X] ||| 着 模样 ” ( [X] ||| 0-2 1-2 2-3 ||| 0.25
! " ( [X][X] [X] ||| ” ( [X][X] [X] ||| 0-0 1-0 2-1 3-2 ||| 0.61292
! " ( [X][X] [X] ||| ” ( [X][X] 方面 [X] ||| 0-0 1-0 2-1 3-2 ||| 0.0666667
some lines in lex.f2e:
计费 pre-emptive 0.2222222
抢占式 pre-emptive 0.1111111
先发 pre-emptive 0.1111111
抢先式 pre-emptive 0.1111111
预先 pre-emptive 0.1111111
2011-07-14
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support