WikiSQL
WikiSQL copied to clipboard
unable to load library CoreNLPClient
Hello Team,
While executing the git code for annotate.py i am getting below error for CoreNLPClient
annotating data/train.jsonl
loading tables
100% 18585/18585 [00:00<00:00, 19025.85it/s]
loading examples
0% 0/56355 [00:00<?, ?it/s]
Traceback (most recent call last):
File "annotate.py", line 113, in
Please advise
Hi~I met the same problem, iit is because the change arder of stanza, the solution is change "from stanza.nlp.corenlp import CoreNLPClient" to "from stanza.server.client import CoreNLPClient", and go further you may also need to adjust "t.word", "t.t.originalText", "t.after" to others since corenlp has changed a lot in their annotation returned formulation.
@Timothyxxx - so which version of stanza and corenlp are you using? because I am hitting the same problem. i was able to navigate it using from stanza.nlp.corenlp import CoreNLPClient but not sure what are the changes for other attributes.