mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
daily automatic beautifier
This commit is contained in:
parent
31f19a15e7
commit
bea32c636a
@ -1737,7 +1737,7 @@ OutputSurface(std::ostream &out, Hypothesis const& edge, bool const recursive) c
|
|||||||
|
|
||||||
// trace ("report segmentation") option "-t" / "-tt"
|
// trace ("report segmentation") option "-t" / "-tt"
|
||||||
int reportSegmentation = options()->output.ReportSegmentation;
|
int reportSegmentation = options()->output.ReportSegmentation;
|
||||||
if (reportSegmentation > 0 && phrase.GetSize() > 0) {
|
if (reportSegmentation > 0 && phrase.GetSize() > 0) {
|
||||||
const Range &sourceRange = edge.GetCurrSourceWordsRange();
|
const Range &sourceRange = edge.GetCurrSourceWordsRange();
|
||||||
const int sourceStart = sourceRange.GetStartPos();
|
const int sourceStart = sourceRange.GetStartPos();
|
||||||
const int sourceEnd = sourceRange.GetEndPos();
|
const int sourceEnd = sourceRange.GetEndPos();
|
||||||
|
Loading…
Reference in New Issue
Block a user