def printEntry(self): '''Prints the specific elements of the result''' cand_hyp = self.getHypothesis() agg_sl_feat, agg_sf_feat = self.computeFeatures() feat_str = FeatureManager.formatFeatureVals(cand_hyp, agg_sl_feat, agg_sf_feat) return cand_hyp, feat_str
def getFeatVec(self): '''Return the feature values of the Hypothesis as a vector''' cand_hyp = self.getHypothesis() agg_sl_feat, agg_sf_feat = self.computeFeatures() feat_str = FeatureManager.formatFeatureVals(cand_hyp, agg_sl_feat, agg_sf_feat) return feat_str