From d757346b55cf497f7a6887b00c1a84402f33f374 Mon Sep 17 00:00:00 2001 From: MosesAdmin Date: Mon, 19 Oct 2015 00:00:40 +0100 Subject: daily automatic beautifier --- OnDiskPt/PhraseNode.cpp | 2 +- OnDiskPt/PhraseNode.h | 8 ++++---- OnDiskPt/TargetPhraseCollection.cpp | 6 +++--- OnDiskPt/TargetPhraseCollection.h | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'OnDiskPt') diff --git a/OnDiskPt/PhraseNode.cpp b/OnDiskPt/PhraseNode.cpp index 74e01d457..b77e8d807 100644 --- a/OnDiskPt/PhraseNode.cpp +++ b/OnDiskPt/PhraseNode.cpp @@ -249,7 +249,7 @@ size_t PhraseNode::ReadChild(Word &wordFound, uint64_t &childFilePos, const char return memRead; } -TargetPhraseCollection::shared_ptr +TargetPhraseCollection::shared_ptr PhraseNode:: GetTargetPhraseCollection(size_t tableLimit, OnDiskWrapper &onDiskWrapper) const { diff --git a/OnDiskPt/PhraseNode.h b/OnDiskPt/PhraseNode.h index 39b9b3f21..1e3611d74 100644 --- a/OnDiskPt/PhraseNode.h +++ b/OnDiskPt/PhraseNode.h @@ -93,10 +93,10 @@ public: const PhraseNode *GetChild(const Word &wordSought, OnDiskWrapper &onDiskWrapper) const; - TargetPhraseCollection::shared_ptr - GetTargetPhraseCollection(size_t tableLimit, - OnDiskWrapper &onDiskWrapper) const; - + TargetPhraseCollection::shared_ptr + GetTargetPhraseCollection(size_t tableLimit, + OnDiskWrapper &onDiskWrapper) const; + void AddCounts(const std::vector &counts) { m_counts = counts; } diff --git a/OnDiskPt/TargetPhraseCollection.cpp b/OnDiskPt/TargetPhraseCollection.cpp index a22c3633b..8d06af163 100644 --- a/OnDiskPt/TargetPhraseCollection.cpp +++ b/OnDiskPt/TargetPhraseCollection.cpp @@ -127,9 +127,9 @@ Moses::TargetPhraseCollection::shared_ptr TargetPhraseCollection::ConvertToMoses CollType::const_iterator iter; for (iter = m_coll.begin(); iter != m_coll.end(); ++iter) { const TargetPhrase &tp = **iter; - Moses::TargetPhrase *mosesPhrase - = tp.ConvertToMoses(inputFactors, outputFactors, vocab, - phraseDict, weightT, isSyntax); + Moses::TargetPhrase *mosesPhrase + = tp.ConvertToMoses(inputFactors, outputFactors, vocab, + phraseDict, weightT, isSyntax); /* // debugging output diff --git a/OnDiskPt/TargetPhraseCollection.h b/OnDiskPt/TargetPhraseCollection.h index 255c94054..1dd37fd4e 100644 --- a/OnDiskPt/TargetPhraseCollection.h +++ b/OnDiskPt/TargetPhraseCollection.h @@ -54,7 +54,7 @@ protected: public: typedef boost::shared_ptr shared_const_ptr; typedef boost::shared_ptr shared_ptr; - + static size_t s_sortScoreInd; TargetPhraseCollection(); -- cgit v1.2.3