diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2015-12-09 03:00:35 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2015-12-09 03:00:35 +0300 |
commit | 59365f2bd3f2ed6d7f77d7fee08ab6d2ac201750 (patch) | |
tree | efb8beb9aa968992fc63385d2343848fc834fe76 /moses/Hypothesis.cpp | |
parent | 2da95fe74a7a9f5388f7a57b1134a04881a908c7 (diff) |
daily automatic beautifier
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r-- | moses/Hypothesis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/Hypothesis.cpp b/moses/Hypothesis.cpp index a4faaf8d3..e22cecb40 100644 --- a/moses/Hypothesis.cpp +++ b/moses/Hypothesis.cpp @@ -342,11 +342,11 @@ OutputAlignment(std::ostream &out, bool recursive=true) const // call with head recursion to output things in the right order size_t trg_off = recursive && m_prevHypo ? m_prevHypo->OutputAlignment(out) : 0; size_t src_off = GetCurrSourceWordsRange().GetStartPos(); - + typedef std::pair<size_t,size_t> const* entry; std::vector<entry> alnvec = tp.GetAlignTerm().GetSortedAlignments(waso); BOOST_FOREACH(entry e, alnvec) - out << e->first + src_off << "-" << e->second + trg_off << " "; + out << e->first + src_off << "-" << e->second + trg_off << " "; return trg_off + tp.GetSize(); } |