def get_feature(self, context_obj):
        source_idx = context_obj['source_index']
        target_idx = context_obj['index']
        source_verbs, target_verbs = 0, 0
        for w in context_obj['target_pos'][target_idx[0]:target_idx[1]]:
            if self.is_verb(w):
                target_verbs += 1
        for w in context_obj['source_pos'][source_idx[0]:source_idx[1]]:
            if self.is_verb(w):
                source_verbs += 1

        feature_val = str(source_verbs) + "_" + str(target_verbs)
        return feature_val
dataset/ETHPy150Open qe-team/marmot/marmot/features/phrase/verbs_bigram_feature_extractor.py/VerbsBigramFeatureExtractor.get_feature/original