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
path: root/moses/PP
diff options
context:
space:
mode:
authorMosesAdmin <moses-support-owner@mit.edu>2016-02-13 03:02:04 +0300
committerMosesAdmin <moses-support-owner@mit.edu>2016-02-13 03:02:04 +0300
commitca5178b6845f4dd359d4b4adf87bba72a33f8a34 (patch)
tree59d6cd18f3155974c5e8d25a67dd0792b60b99f1 /moses/PP
parent1659d6b4c8c0b2a261678c012b9eab32f8c7b296 (diff)
daily automatic beautifiermmt-merge
Diffstat (limited to 'moses/PP')
-rw-r--r--moses/PP/TargetConstituentBoundariesLeftPhraseProperty.cpp4
-rw-r--r--moses/PP/TargetConstituentBoundariesLeftPhraseProperty.h4
-rw-r--r--moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.cpp4
-rw-r--r--moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/moses/PP/TargetConstituentBoundariesLeftPhraseProperty.cpp b/moses/PP/TargetConstituentBoundariesLeftPhraseProperty.cpp
index e3a0917ea..b39c79036 100644
--- a/moses/PP/TargetConstituentBoundariesLeftPhraseProperty.cpp
+++ b/moses/PP/TargetConstituentBoundariesLeftPhraseProperty.cpp
@@ -27,10 +27,10 @@ void TargetConstituentBoundariesLeftPhraseProperty::ProcessValue(const std::stri
for ( std::vector<std::string>::iterator constituentIter = constituents.begin();
constituentIter != constituents.end(); ++constituentIter ) {
-
+
const Factor* constituentFactor = factorCollection.AddFactor(*constituentIter,false);
- std::pair< std::set<const Factor* >::iterator, bool > dedupIns =
+ std::pair< std::set<const Factor* >::iterator, bool > dedupIns =
dedup.insert(constituentFactor);
if ( dedupIns.second ) {
diff --git a/moses/PP/TargetConstituentBoundariesLeftPhraseProperty.h b/moses/PP/TargetConstituentBoundariesLeftPhraseProperty.h
index d9c629922..33846fd16 100644
--- a/moses/PP/TargetConstituentBoundariesLeftPhraseProperty.h
+++ b/moses/PP/TargetConstituentBoundariesLeftPhraseProperty.h
@@ -8,14 +8,14 @@
namespace Moses
{
-
+
typedef std::map<const Factor*, float> TargetConstituentBoundariesLeftCollection;
class TargetConstituentBoundariesLeftPhraseProperty : public PhraseProperty
{
public:
- TargetConstituentBoundariesLeftPhraseProperty()
+ TargetConstituentBoundariesLeftPhraseProperty()
{};
virtual void ProcessValue(const std::string &value);
diff --git a/moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.cpp b/moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.cpp
index 5bed2c764..268f145cf 100644
--- a/moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.cpp
+++ b/moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.cpp
@@ -27,10 +27,10 @@ void TargetConstituentBoundariesRightAdjacentPhraseProperty::ProcessValue(const
for ( std::vector<std::string>::iterator constituentIter = constituents.begin();
constituentIter != constituents.end(); ++constituentIter ) {
-
+
const Factor* constituentFactor = factorCollection.AddFactor(*constituentIter,false);
- std::pair< std::set<const Factor* >::iterator, bool > dedupIns =
+ std::pair< std::set<const Factor* >::iterator, bool > dedupIns =
dedup.insert(constituentFactor);
if ( dedupIns.second ) {
diff --git a/moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.h b/moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.h
index 79b5c71be..68826fdaa 100644
--- a/moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.h
+++ b/moses/PP/TargetConstituentBoundariesRightAdjacentPhraseProperty.h
@@ -8,14 +8,14 @@
namespace Moses
{
-
+
typedef std::map<const Factor*, float> TargetConstituentBoundariesRightAdjacentCollection;
class TargetConstituentBoundariesRightAdjacentPhraseProperty : public PhraseProperty
{
public:
- TargetConstituentBoundariesRightAdjacentPhraseProperty()
+ TargetConstituentBoundariesRightAdjacentPhraseProperty()
{};
virtual void ProcessValue(const std::string &value);