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 <hieuhoang@gmail.com>2015-01-07 07:07:06 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-01-07 09:01:10 +0300
commit3b3f11365d89a72f34c5da65d3e40328cb91ecd5 (patch)
tree2a9bbb50284e91c04b1f41576aa69894557da254 /moses/PDTAimp.cpp
parentbfac071742d8c99638a478db7bd77edae2530e0d (diff)
delete UserMessage. Too difficult to police
Diffstat (limited to 'moses/PDTAimp.cpp')
-rw-r--r--moses/PDTAimp.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/moses/PDTAimp.cpp b/moses/PDTAimp.cpp
index 34f65da4c..8726183c3 100644
--- a/moses/PDTAimp.cpp
+++ b/moses/PDTAimp.cpp
@@ -174,9 +174,7 @@ void PDTAimp::Create(const std::vector<FactorType> &input
// m_dict->Read(filePath);
bool res=m_dict->Read(filePath);
if (!res) {
- std::stringstream strme;
- strme << "bin ttable was read in a wrong way\n";
- UserMessage::Add(strme.str());
+ std::cerr << "bin ttable was read in a wrong way\n";
exit(1);
}
}