Skip to content

Commit

Permalink
FIX Put back the features in the submitted version.
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-martins committed Jul 2, 2014
1 parent e840d75 commit c3f0a86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/semantic_parser/SemanticFeatures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2084,15 +2084,15 @@ void SemanticFeatures::AddPredicateFeatures(SemanticInstanceNumeric* sentence,
AddFeature(fkey, features);
fkey = encoder_.CreateFKey_WP(SemanticFeatureTemplatePredicate::HW_bdHP, flags, HWID, bdHPID);
AddFeature(fkey, features);
fkey = encoder_.CreateFKey_WP(SemanticFeatureTemplatePredicate::HW_bdHR, flags, HWID, bdHRID);
//fkey = encoder_.CreateFKey_WP(SemanticFeatureTemplatePredicate::HW_bdHR, flags, HWID, bdHPID); // Submitted results.
//fkey = encoder_.CreateFKey_WP(SemanticFeatureTemplatePredicate::HW_bdHR, flags, HWID, bdHRID);
fkey = encoder_.CreateFKey_WP(SemanticFeatureTemplatePredicate::HW_bdHR, flags, HWID, bdHPID); // Submitted results.
AddFeature(fkey, features);
fkey = encoder_.CreateFKey_WP(SemanticFeatureTemplatePredicate::HP_bdHW, flags, bdHWID, HPID);
AddFeature(fkey, features);
fkey = encoder_.CreateFKey_PP(SemanticFeatureTemplatePredicate::HP_bdHP, flags, HPID, bdHPID);
AddFeature(fkey, features);
fkey = encoder_.CreateFKey_PP(SemanticFeatureTemplatePredicate::HP_bdHR, flags, HPID, bdHRID);
//fkey = encoder_.CreateFKey_WP(SemanticFeatureTemplatePredicate::HP_bdHR, flags, HWID, bdHRID); // Submitted results.
//fkey = encoder_.CreateFKey_PP(SemanticFeatureTemplatePredicate::HP_bdHR, flags, HPID, bdHRID);
fkey = encoder_.CreateFKey_WP(SemanticFeatureTemplatePredicate::HP_bdHR, flags, HWID, bdHRID); // Submitted results.
AddFeature(fkey, features);
}
}
Expand Down

0 comments on commit c3f0a86

Please sign in to comment.