As of released in CoreNLP v3.9.0, StanfordCoreNLPServer class now accepts the properties param for tokensregex and semgrex as well as for tregex endpoint.
This para works similarly as as the "annotate" endpoint does, allowing for language selection and custom annotators such as NER. It is not possible to use them without this.
As of released in CoreNLP v3.9.0,
StanfordCoreNLPServer
class now accepts theproperties
param fortokensregex
andsemgrex
as well as fortregex
endpoint.This para works similarly as as the "annotate" endpoint does, allowing for language selection and custom annotators such as
NER
. It is not possible to use them without this.Reference: https://github.com/stanfordnlp/CoreNLP/commit/8a2f5fbca514c5b1f01cdb7cc0ca96ed64973b82 https://github.com/stanfordnlp/CoreNLP/commit/76f2bcdcde0d2266e7ab50ebb95a629c407f5922