Closed nyejon closed 4 years ago
I think this is indeed a bug. In corpus.py the load method (line 599). I changed
msg = srsly.msgpack_loads(f.read())
to
msg = srsly.msgpack_loads(f.read(), use_list=False)
This solved it!
Heads-up, I have a PR open that will fix this issue: https://github.com/chartbeat-labs/textacy/pull/285
Thanks for your patience, I had to take a longer-than-expected break from textacy development to work on other projects. Glad to be back at it. :+1:
That update is now available in a release: https://github.com/chartbeat-labs/textacy/releases/tag/0.10.0
Hi Burton
Sorry, it won't let me comment on the other issue #252 or update it?
It is a problem when there are custom attributes on tokens. This should provide a minimum way to show the error.