예제 #1
0
    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
예제 #2
0
    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
예제 #3
0
    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
예제 #4
0
    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