1
0
mirror of https://github.com/nikhiljsk/preprocess_nlp.git synced 2021-10-18 10:21:04 +03:00

changing defaults

This commit is contained in:
nikhiljsk
2020-02-18 14:26:44 +05:30
parent 603850fb12
commit cefca65ed8

View File

@@ -179,11 +179,11 @@ def get_features(docs, stages={}, ind=None, send_end=None):
default_stages = {
'nouns': True,
'verbs': True,
'adjs': True,
'noun_phrases': True,
'keywords': True,
'ner': True,
'numbers': True,
'adjs': False,
'noun_phrases': False,
'keywords': False,
'ner': False,
'numbers': False,
}
default_stages.update(stages)