diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2015-10-19 02:00:40 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2015-10-19 02:00:40 +0300 |
commit | d757346b55cf497f7a6887b00c1a84402f33f374 (patch) | |
tree | 30a3b680d2557ee81028d5c8ceb14dbcb834c1d2 /moses/PDTAimp.cpp | |
parent | b8b3d2111a20c6f401291160a01db4bc03ce3676 (diff) |
daily automatic beautifier
Diffstat (limited to 'moses/PDTAimp.cpp')
-rw-r--r-- | moses/PDTAimp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/PDTAimp.cpp b/moses/PDTAimp.cpp index ea40a2f4f..c4bd2c338 100644 --- a/moses/PDTAimp.cpp +++ b/moses/PDTAimp.cpp @@ -149,7 +149,7 @@ PDTAimp::GetTargetPhraseCollection(Phrase const &src) const if(useCache) piter.first->second = ret; m_tgtColls.push_back(ret); } - return ret; + return ret; } @@ -387,8 +387,8 @@ void PDTAimp::CacheSource(ConfusionNet const& src) //std::cerr << i->first.first << "-" << i->first.second << ": " << targetPhrase << std::endl; } - TargetPhraseCollectionWithSourcePhrase::shared_ptr - rv = PruneTargetCandidates(tCands, costs, sourcePhrases); + TargetPhraseCollectionWithSourcePhrase::shared_ptr + rv = PruneTargetCandidates(tCands, costs, sourcePhrases); if(rv->IsEmpty()) rv.reset(); @@ -430,7 +430,7 @@ void PDTAimp::CreateTargetPhrase(TargetPhrase& targetPhrase, targetPhrase.EvaluateInIsolation(*srcPtr, m_obj->GetFeaturesToApply()); } -TargetPhraseCollectionWithSourcePhrase::shared_ptr +TargetPhraseCollectionWithSourcePhrase::shared_ptr PDTAimp::PruneTargetCandidates (const std::vector<TargetPhrase> & tCands, std::vector<std::pair<float,size_t> >& costs, |