diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-07 07:07:06 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-07 09:01:10 +0300 |
commit | 3b3f11365d89a72f34c5da65d3e40328cb91ecd5 (patch) | |
tree | 2a9bbb50284e91c04b1f41576aa69894557da254 /moses/PDTAimp.cpp | |
parent | bfac071742d8c99638a478db7bd77edae2530e0d (diff) |
delete UserMessage. Too difficult to police
Diffstat (limited to 'moses/PDTAimp.cpp')
-rw-r--r-- | moses/PDTAimp.cpp | 4 |
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); } } |