mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
write tree fragment string, not pointer
This commit is contained in:
parent
40e8f2eca0
commit
e0b3105fc0
@ -416,7 +416,7 @@ void IOWrapper::OutputTreeFragmentsTranslationOptions(std::ostream &out, Applica
|
||||
|
||||
out << " ||| ";
|
||||
if (const PhraseProperty *property = currTarPhr.GetProperty("Tree")) {
|
||||
out << " " << property->GetValueString();
|
||||
out << " " << *property->GetValueString();
|
||||
} else {
|
||||
out << " " << "noTreeInfo";
|
||||
}
|
||||
@ -442,7 +442,7 @@ void IOWrapper::OutputTreeFragmentsTranslationOptions(std::ostream &out, Applica
|
||||
|
||||
out << " ||| ";
|
||||
if (const PhraseProperty *property = currTarPhr.GetProperty("Tree")) {
|
||||
out << " " << property->GetValueString();
|
||||
out << " " << *property->GetValueString();
|
||||
} else {
|
||||
out << " " << "noTreeInfo";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user