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:
authorMosesAdmin <moses-support-owner@mit.edu>2015-10-19 02:00:40 +0300
committerMosesAdmin <moses-support-owner@mit.edu>2015-10-19 02:00:40 +0300
commitd757346b55cf497f7a6887b00c1a84402f33f374 (patch)
tree30a3b680d2557ee81028d5c8ceb14dbcb834c1d2 /OnDiskPt
parentb8b3d2111a20c6f401291160a01db4bc03ce3676 (diff)
daily automatic beautifier
Diffstat (limited to 'OnDiskPt')
-rw-r--r--OnDiskPt/PhraseNode.cpp2
-rw-r--r--OnDiskPt/PhraseNode.h8
-rw-r--r--OnDiskPt/TargetPhraseCollection.cpp6
-rw-r--r--OnDiskPt/TargetPhraseCollection.h2
4 files changed, 9 insertions, 9 deletions
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<float> &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<TargetPhraseCollection const> shared_const_ptr;
typedef boost::shared_ptr<TargetPhraseCollection> shared_ptr;
-
+
static size_t s_sortScoreInd;
TargetPhraseCollection();