コード例 #1
0
ファイル: hypothesis.py プロジェクト: amirpouya/Kriya
    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
ファイル: hypothesis.py プロジェクト: amirpouya/Kriya
    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
ファイル: hypothesis.py プロジェクト: ChenxiCui/Kriya
    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
ファイル: hypothesis.py プロジェクト: ChenxiCui/Kriya
    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