summaryrefslogtreecommitdiff
path: root/training/mira/kbest_cut_mira.cc
diff options
context:
space:
mode:
Diffstat (limited to 'training/mira/kbest_cut_mira.cc')
-rw-r--r--training/mira/kbest_cut_mira.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/mira/kbest_cut_mira.cc b/training/mira/kbest_cut_mira.cc
index c3f7891b..353ebe0e 100644
--- a/training/mira/kbest_cut_mira.cc
+++ b/training/mira/kbest_cut_mira.cc
@@ -646,7 +646,7 @@ int main(int argc, char** argv) {
ScoreType type = ScoreTypeFromString(metric_name);
//establish metric used for tuning
- if (type == TER) {
+ if (type == TER || type == WER) {
invert_score = true;
} else {
invert_score = false;