diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2017-06-15 16:26:51 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2017-06-15 16:26:51 +0300 |
commit | 4b0560b5c9bd95d7c55cb0451e8947de0eee1d6d (patch) | |
tree | 9bdadd294aec97015a1ff8d1e3a3beaf4751d797 /moses | |
parent | b199e654df2a26ea58f234cbb642e89d9c1f269d (diff) |
stop printing out UNK when factor == NULL. /Etienne Monneret
Diffstat (limited to 'moses')
-rw-r--r-- | moses/Manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Manager.cpp b/moses/Manager.cpp index 3650baabb..0cd540991 100644 --- a/moses/Manager.cpp +++ b/moses/Manager.cpp @@ -1724,7 +1724,7 @@ OutputSurface(std::ostream &out, Hypothesis const& edge, bool const recursive) c for (size_t i = 1 ; i < outputFactorOrder.size() ; i++) { const Factor *factor = phrase.GetFactor(pos, outputFactorOrder[i]); if (factor) out << fd << *factor; - else out << fd << UNKNOWN_FACTOR; + //else out << fd << UNKNOWN_FACTOR; } if(markUnknown && word.IsOOV()) { |