Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAles Tamchyna <tamchyna@ufal.mff.cuni.cz>2016-05-17 14:16:09 +0300
committerAles Tamchyna <tamchyna@ufal.mff.cuni.cz>2016-05-17 14:16:09 +0300
commit7c5bb9328caf4f23133355251b938e0714e89a7a (patch)
tree13511d8b3df4dfd53f98d79f6e359006e7460bd9
parent2a58011d377042b2cf28c386417f1959a7055842 (diff)
less verbosity in VWvw_tgtcontext
-rw-r--r--moses/FF/VW/VW.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/moses/FF/VW/VW.cpp b/moses/FF/VW/VW.cpp
index 06acac6c6..dfb732c8f 100644
--- a/moses/FF/VW/VW.cpp
+++ b/moses/FF/VW/VW.cpp
@@ -76,7 +76,7 @@ FFState* VW::EvaluateWhenApplied(
const FFState* prevState,
ScoreComponentCollection* accumulator) const
{
- VERBOSE(2, "VW :: Evaluating translation options\n");
+ VERBOSE(3, "VW :: Evaluating translation options\n");
const VWState& prevVWState = *static_cast<const VWState *>(prevState);
@@ -194,7 +194,7 @@ void VW::EvaluateTranslationOptionListWithSourceContext(const InputType &input
if (translationOptionList.size() == 0)
return; // nothing to do
- VERBOSE(2, "VW :: Evaluating translation options\n");
+ VERBOSE(3, "VW :: Evaluating translation options\n");
// which feature functions do we use (on the source and target side)
const std::vector<VWFeatureBase*>& sourceFeatures =
@@ -252,7 +252,7 @@ void VW::EvaluateTranslationOptionListWithSourceContext(const InputType &input
// do not train if there are no positive examples
if (firstCorrect == -1) {
- VERBOSE(2, "VW :: skipping topt collection, no correct translation for span at current tgt start position\n");
+ VERBOSE(3, "VW :: skipping topt collection, no correct translation for span at current tgt start position\n");
continue;
}
@@ -582,7 +582,7 @@ std::vector<bool> VW::LeaveOneOut(const TranslationOptionList &topts, const std:
static_cast<const CountsPhraseProperty *>(targetPhrase.GetProperty("Counts"));
if (! property) {
- VERBOSE(1, "VW :: Counts not found for topt! Is this an OOV?\n");
+ VERBOSE(2, "VW :: Counts not found for topt! Is this an OOV?\n");
// keep all translation opts without updating, this is either OOV or bad usage...
keepOpt.assign(topts.size(), true);
return keepOpt;
@@ -600,7 +600,7 @@ std::vector<bool> VW::LeaveOneOut(const TranslationOptionList &topts, const std:
float discount = correct[i] ? ONE : 0.0;
float target = property->GetTargetMarginal() - discount;
float joint = property->GetJointCount() - discount;
- if (discount != 0.0) VERBOSE(2, "VW :: leaving one out!\n");
+ if (discount != 0.0) VERBOSE(3, "VW :: leaving one out!\n");
if (joint > 0) {
// topt survived leaving one out, update its scores