Skip to content

Commit

Permalink
fixed failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbatchkarov committed Nov 10, 2015
1 parent f354efc commit bf3a996
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eval/pipeline/feature_extractors.py
Expand Up @@ -8,11 +8,13 @@ class FeatureExtractor(object):
def __init__(self, remove_features_with_NER=False,
extract_unigram_features='J,N,V',
extract_phrase_features=['AN', 'NN', 'SVO'],
standard_ngram_features=0):
standard_ngram_features=0,
remove_pos=False):
self.remove_features_with_NER = remove_features_with_NER
self.extract_phrase_features = extract_phrase_features
self.extract_unigram_features = extract_unigram_features
self.standard_ngram_features = standard_ngram_features
self.remove_pos = remove_pos

def update(self, **kwargs):
self.__dict__.update(**kwargs)
Expand Down

0 comments on commit bf3a996

Please sign in to comment.