From fad57a60a7dddbdcbc05fc9f6e31683036ea0e27 Mon Sep 17 00:00:00 2001 From: maria nadejde Date: Fri, 13 Sep 2013 16:13:36 +0200 Subject: comment for Equal implementation --- phrase-extract/InternalStructFeature.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'phrase-extract/InternalStructFeature.cpp') 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, -- cgit v1.2.3