mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
moses/LM/BilingualLM.cpp
This commit is contained in:
parent
6fbcac2421
commit
43a036351c
@ -326,8 +326,8 @@ void BilingualLM::getAllAlignments(const ChartHypothesis& cur_hypo, size_t featu
|
||||
//are before b and add their source span to the source_word_mid_idx.
|
||||
source_word_mid_idx = source_phrase_start_pos + (int)source_center_index + nonterm_length;
|
||||
}
|
||||
word_alignemnts.push_back(source_word_mid_idx);
|
||||
}
|
||||
word_alignemnts.push_back(source_word_mid_idx);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user