Closed mehdipiraee closed 5 years ago
Hi @mehdipiraee , thanks for your patience and apologies for the delay, I didn't have bandwidth to develop textacy
for a few months.
Unfortunately, I can't reproduce your error in my dev environment, even though I'm also on macOS in Py3.6:
These sorts of errors are a big pain, and can be tricky to debug. (In fact, the spaCy folks just released a package to help — srsly
— that I may start using.) When opening the file, it should be using mode="rt", encoding=None
, which I would expect to default to "utf-8", but you can see in the stacktrace that it's not. .Is your Python's default encoding "ascii"?
Initializing a corpus fails with the following error:
Steps to Reproduce (for bugs)
Your Environment
Traceback: