Closed bjascob closed 6 years ago
I managed to get some help from another source. The python requests can be modified by adding to the "properties" something like..
self.reqdict = {ner.applyFineGrained': 'false', 'ner.buildEntityMentions': 'false',
'annotators': 'tokenize, ssplit, pos, lemma, ner', 'outputFormat': 'json'}
and then use the post call as shoiwn above.
I'm accessing the CoreNLPServer from a python script which works excellent, however I believe the new "fine-grained" NER is significantly slowing down parsing in v3.9.2. I've seen references that say it can be turned off with the java code...
How can I pass these commands to the startup script for the server? I'm currently using a startup command something like...
Alternately I could pass a param in with requests, but again, I'm not sure of the format. Currently I'm using...
Can fine-grained be disabled through the startup script or the client's requests? Any hints on how to do this would be appreciated.