tokestermw / spacy_hunspell

:pencil2: Hunspell extension for spaCy 2.0.
MIT License
94 stars 14 forks source link

Error on Jupyter when setting the extension #4

Open trylks opened 6 years ago

trylks commented 6 years ago

Problem: Because of the mess that state is on Jupyter (and Python), normal operation causes errors.

Solution: When setting the extensions, either check if Token already has them, or force setting them.

Note: If unclear, I can do a pull request on Saturday.