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:
authorKenneth Heafield <github@kheafield.com>2011-12-01 17:32:15 +0400
committerKenneth Heafield <github@kheafield.com>2011-12-01 17:32:15 +0400
commit9b5ded8b5f907fa54984b2cb68c57a3c4950fd4a (patch)
tree5453499243a585f09702fa91a25c103fba496392
parentc247a4371e13b1cfd05f36de9e1b8bbb34d224ea (diff)
Get more passive-aggressive about IRSTLM and <s>.
-rw-r--r--lm/vocab.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lm/vocab.cc b/lm/vocab.cc
index 3fefe6b13..c10743ceb 100644
--- a/lm/vocab.cc
+++ b/lm/vocab.cc
@@ -229,7 +229,7 @@ void MissingSentenceMarker(const Config &config, const char *str) throw(SpecialW
if (config.messages) *config.messages << "Missing special word " << str << "; will treat it as <unk>.";
break;
case THROW_UP:
- UTIL_THROW(SpecialWordMissingException, "The ARPA file is missing " << str << " and the model is configured to reject these models. Run build_binary -s to disable this check.");
+ UTIL_THROW(SpecialWordMissingException, "The ARPA file is missing " << str << " and the model is configured to reject these models. If you built your APRA with IRSTLM and forgot to run add-start-end.sh, complain to <bertoldi at fbk.eu> stating that you think build-lm.sh should do this by default, then go back and retrain your model from the start. To bypass this check and treat " << str << " as an OOV, pass -s. The resulting model will not work with e.g. Moses.");
}
}