hi amin,
what does your
extract.sorted
and
rule-table.half.f2e
file look like? Each line should look like this:
[X][X] Moucharraf [X] ||| [X][X] Musharraf [X] ||| 1-1 0-0 ||| 0.5
can you send me a few lines & i'll double check everything's ok.
also, what is the exact arguments you use to call train-model.perl ?
On 23/10/2010 04:33, amin farajian wrote:
Hi all,
I am trying to build a hierarchical model on my corpus. I
use//|/train-model.perl/ by this parameter: ||/-hierarchical
-glue-grammar/
but it dies with signal 6. here are the last messages:
|
Executing: gunzip < ./model/extract.gz | LC_ALL=C sort -T ./model >
./model/extract.sorted
(6.2) creating table half ./model/rule-table.half.f2e @ Sat Oct 23
06:50:24 EDT 2010
Executing:
/home/amin/mt/moses/moses-scripts/training/phrase-extract/score
./model/extract.sorted ./model/lex.f2e ./model/rule-table.half.f2e
--Hierarchical
Score v2.0 written by Philipp Koehn
scoring methods for extracted rules
processing hierarchical rules
Loading lexical translation table from ./model/lex.f2e.
score: score.cpp:434: void
outputPhrasePair(std::vector<PhraseAlignment*,
std::allocator<PhraseAlignment*> >&, float): Assertion
`bestAlignment->alignedToT[ j ].size() == 1' failed.
ERROR: Execution of:
/home/amin/mt/moses/moses-scripts/training/phrase-extract/score
./model/extract.sorted ./model/lex.f2e ./model/rule-table.half.f2e
--Hierarchical
died with signal 6, without coredump
why does it die?
_______________________________________________
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