mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
vw verbose
This commit is contained in:
parent
2b0aa56677
commit
c33e9e81da
@ -180,8 +180,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// do not train if there are no positive examples
|
// do not train if there are no positive examples
|
||||||
if (! seenCorrect)
|
if (! seenCorrect) {
|
||||||
|
VERBOSE(2, "VW :: skipping topt collection, no correct translation for span\n");
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<bool>::const_iterator iterKeep;
|
std::vector<bool>::const_iterator iterKeep;
|
||||||
@ -411,7 +413,7 @@ private:
|
|||||||
keepOpt.push_back(true);
|
keepOpt.push_back(true);
|
||||||
} else {
|
} else {
|
||||||
// they only occurred together once, discard topt
|
// they only occurred together once, discard topt
|
||||||
VERBOSE(2, "VW :: discared topt when leaving one out\n");
|
VERBOSE(2, "VW :: discarded topt when leaving one out\n");
|
||||||
keepOpt.push_back(false);
|
keepOpt.push_back(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user