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/ConfusionNet.cpp | |
parent | bfac071742d8c99638a478db7bd77edae2530e0d (diff) |
delete UserMessage. Too difficult to police
Diffstat (limited to 'moses/ConfusionNet.cpp')
-rw-r--r-- | moses/ConfusionNet.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/moses/ConfusionNet.cpp b/moses/ConfusionNet.cpp index d9270bd1b..6591209d8 100644 --- a/moses/ConfusionNet.cpp +++ b/moses/ConfusionNet.cpp @@ -8,7 +8,6 @@ #include "TranslationOptionCollectionConfusionNet.h" #include "StaticData.h" #include "Sentence.h" -#include "UserMessage.h" #include "moses/FF/InputFeature.h" #include "util/exception.hh" @@ -102,10 +101,8 @@ namespace Moses case 1: return ReadFormat1(in,factorOrder); default: - std::stringstream strme; - strme << "ERROR: unknown format '"<<format + std::cerr << "ERROR: unknown format '"<<format <<"' in ConfusionNet::Read"; - UserMessage::Add(strme.str()); } return false; } |