Skip to content

Commit

Permalink
update corenlp properties #15
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenlujpl committed May 20, 2021
1 parent a382a84 commit d507d57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/parserindexer/corenlp_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ def __init__(self, corenlp_server_url, ner_model,
'ner.useSUTime': False,
# Dont want numeric classifier
'ner.applyNumericClassifiers': False,
'timeout': '60000',
# Don't need fine grained recognition with corenlp built-in NER
# models
'ner.applyFineGrained': False
}
if ner_model:
if not os.path.exists(ner_model):
Expand Down

0 comments on commit d507d57

Please sign in to comment.