diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-08-15 23:20:44 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-08-15 23:20:44 +0400 |
commit | 841ce108a5258117920289448b57abe684375348 (patch) | |
tree | 372e9bdc018d45f04c5d77b4f14a05c75d4de8b4 /moses-cmd | |
parent | 5fa6e506b1b3c3a0c4d9d3ebc9271bd306864085 (diff) |
add phrase table caching
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/IOWrapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/moses-cmd/IOWrapper.cpp b/moses-cmd/IOWrapper.cpp index 56b960887..b2be685c0 100644 --- a/moses-cmd/IOWrapper.cpp +++ b/moses-cmd/IOWrapper.cpp @@ -379,6 +379,10 @@ void IOWrapper::OutputBestHypo(const Hypothesis *hypo, long /*translationId*/, c Backtrack(hypo); VERBOSE(3,"0" << std::endl); if (!m_surpressSingleBestOutput) { + if (StaticData::Instance().GetOutputHypoScore()) { + cout << hypo->GetTotalScore() << " "; + } + if (StaticData::Instance().IsPathRecoveryEnabled()) { OutputInput(cout, hypo); cout << "||| "; |