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:
authormaria nadejde <maria.nadejde@gmail.com>2013-09-13 18:13:36 +0400
committermaria nadejde <maria.nadejde@gmail.com>2013-09-13 18:13:36 +0400
commitfad57a60a7dddbdcbc05fc9f6e31683036ea0e27 (patch)
tree3e12a90de4196511d137d1d8e7090d97b7580954 /phrase-extract/InternalStructFeature.cpp
parent5615a1176625323c1bbe713ecd7e816aaa782dcc (diff)
comment for Equal implementation
Diffstat (limited to 'phrase-extract/InternalStructFeature.cpp')
-rw-r--r--phrase-extract/InternalStructFeature.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/phrase-extract/InternalStructFeature.cpp b/phrase-extract/InternalStructFeature.cpp
index 061a378b2..02340100a 100644
--- a/phrase-extract/InternalStructFeature.cpp
+++ b/phrase-extract/InternalStructFeature.cpp
@@ -11,7 +11,7 @@ InternalStructFeature::InternalStructFeature()
}
bool InternalStructFeature::equals(const PhraseAlignment& lhs, const PhraseAlignment& rhs) const{
- cout<<"InternalStructFeature: Equals\n";
+ //cout<<"InternalStructFeature: Equals\n";
//don't know what it's used for and what we should compare
//-> if the dense score is the same
//-> if the sparse feature is set
@@ -19,7 +19,13 @@ bool InternalStructFeature::equals(const PhraseAlignment& lhs, const PhraseAlign
/** Return true if the two phrase pairs are equal from the point of this feature. Assume
that they already compare true according to PhraseAlignment.equals()
**/
- return true;
+
+/* if(lhs.ghkmParse==rhs.ghkmParse)
+ return true;
+ else
+ return false;
+*/
+ //return true;
}
void InternalStructFeature::add(const ScoreFeatureContext& context,