summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-12 10:59:34 +0200
committerPatrick Simianer <p@simianer.de>2016-04-12 10:59:34 +0200
commit833d84354b9c57068723e9d7a2e87a409eddd329 (patch)
tree8e9d55934ef666f1acd0bcb1317943ff80598e97 /training
parentd0613843f2ce5628aa6728f3672d59877ef85833 (diff)
parentee4f3c5581e43510d98de1274c6c1c2984c87faf (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'training')
-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;