Closed minhlab closed 6 years ago
The error happens in PyStanfordDependencies. It looks like some Penn Treebank non-terminals in the CoNLL gold data are not contained in ASCII. I'll have a look at the issue, but it probably requires fixes to PyStanfordDependencies.
Due to different string handling the error does not happen in Python 3. Is using Python 3 an option for you?
After some searching I realized that I can install cort
using pip3 install
. I can run the visualization now. Thanks!
I was trying to load a file which is composed of all gold sentences in CoNLL-2012 dev set when this error occurred. Bellow is the full stack trace:
The data looks like this:
Anyone has any ideas how to fix this?
Best regards, Minh