On Mar 6, 2014, at 16:00 , Momo Jeng <[email protected]> wrote: > I'm having a problem getting results from Moses, although I think it's really > a problem with GIZA++; please let me know if there's a better place for GIZA > questions. > > When I run Moses instructing GIZA++ to only do model1 and hmm iterations ( > "--giza-option > model1iterations=3,hmmiterations=3,model3iterations=0,model4iterations=0" ), > Moses fails, because GIZA++ doesn't produce an alignment file (the .A3.final > file). > > Based on a quick look at the GIZA++ code, this failure is explicit in the > code. In main.cpp, m3.viterbi(...) is only called at line 652 if at least one > iteration is set for model 3, 4, 5, or 6, and m3.viterbi(...) is where the > code for writing the alignment file is called. So I'm wondering if this a > bug, or by design. Is there some reason that I shouldn't create alignments > without using model 3 or higher?
You can't produce actual alignments with Model 1 - it assumes a uniform distribution from each word over all the words in the other half of the sentence pair. It's really only useful for initializing the word translation probabilities for one of the more sophisticated models. - JB _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
