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:
authorHieu Hoang <hieu@hoang.co.uk>2014-01-13 22:32:22 +0400
committerHieu Hoang <hieu@hoang.co.uk>2014-01-13 22:32:22 +0400
commitfccf2ea43a7ff0846dbb1bf77df32b7d85186e63 (patch)
tree97f95116d5e0ad2263fe3b03b93d1c0295554c6c /moses/PDTAimp.h
parentb5558c36b85177bf282cb88edd3b899872b7a9b9 (diff)
get rid of all aborts from decoder
Diffstat (limited to 'moses/PDTAimp.h')
-rw-r--r--moses/PDTAimp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/PDTAimp.h b/moses/PDTAimp.h
index 2fda02e03..2e6f6b7e2 100644
--- a/moses/PDTAimp.h
+++ b/moses/PDTAimp.h
@@ -228,8 +228,7 @@ public:
std::string binFname=filePath+".binphr.idx";
if(!FileExists(binFname.c_str())) {
- UserMessage::Add( "bin ttable does not exist\n");
- abort();
+ UTIL_THROW2( "bin ttable does not exist");
//TRACE_ERR( "bin ttable does not exist -> create it\n");
//InputFileStream in(filePath);
//m_dict->Create(in,filePath);