Closed reachsumit closed 4 years ago
Thanks for the contribution! Before we can merge this, we need @reachsumit to sign the Salesforce.com Contributor License Agreement.
Unfortunately I think we'll have to forgo this change since the Stanza package was co-opted to be the new CoreNLP python library. Also tokenization changed and therefore will be incompatible with previous results. I will add a note to the README about this.
The
CoreNLPClient
import and the annotation response structure used in the current code does not work with Stanza API. This commit makes the annotation code compatible with Stanza mainline.