Skip to content

Commit 3f4a084

Browse files
committed
disable corenlp fine grained location NER tagging #13
1 parent 2b88469 commit 3f4a084

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/parserindexer/corenlpparser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ def __init__(self, **kwargs):
2121
'outputFormat': 'json',
2222
'ner.useSUTime': False, # dont want SUTime model
2323
'ner.applyNumericClassifiers': False, # Dont want numeric classifier
24+
# Don't need fine grained recognition with corenlp built-in NER
25+
# models
26+
'ner.applyFineGrained': False
2427
}
2528
if kwargs.get('ner_model'): # set NER model from CLI
2629
if not os.path.exists(kwargs.get('ner_model')):

0 commit comments

Comments
 (0)