Closed jungyitsai closed 3 years ago
Sorry for my late response. The Co-Reference pipeline depends on CkipClassic Parser Client backend. To use the CkipClassic Parser Client backend, you need to
$CKIPPARSER_USERNAME
and $CKIPPARSER_PASSWORD
to the username and password.CkipClassic updated. https://github.com/ckiplab/ckip-classic/releases/tag/1.2.1
Now it will raise error if username/password is invalid.
I use sample code from document-reference, but I get the error-message
NodeIDAbsentError: Node 'None' is not in the tree
. Do I misuse this sample code?document-reference
my-colab-link
error-message
sample code
pipeline = CkipCorefPipeline() doc = CkipDocument(raw='畢卡索他想,完蛋了')
Co-Reference
corefdoc = pipeline(doc) print(corefdoc.coref) for line in corefdoc.coref: print(line.to_text())