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:
authorPhil Williams <philip.williams@mac.com>2015-02-18 19:22:13 +0300
committerPhil Williams <philip.williams@mac.com>2015-02-18 19:22:13 +0300
commit357f33b0d5e6dbd1d977e5553d6d1036c4dd9178 (patch)
tree9cbdb7d9a17741c01b25ed815d77c6c36e3f9eea /moses/ChartManager.cpp
parentb2232560403f2c42e90b88869e1124558f115d1b (diff)
Fix -output-unknowns for -search-algorithm 3 (moses_chart)
Diffstat (limited to 'moses/ChartManager.cpp')
-rw-r--r--moses/ChartManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartManager.cpp b/moses/ChartManager.cpp
index d183c97e6..aa550e48b 100644
--- a/moses/ChartManager.cpp
+++ b/moses/ChartManager.cpp
@@ -699,7 +699,7 @@ void ChartManager::OutputUnknowns(OutputCollector *collector) const
std::ostringstream out;
for (std::vector<Phrase*>::const_iterator p = oovs.begin();
p != oovs.end(); ++p) {
- out << *p;
+ out << **p;
}
out << std::endl;
collector->Write(translationId, out.str());