spacy 1.5.1 TypeError: unhashable type: 'spacy.tokens.token.Token'
kootenpv opened this issue · 2 comments
kootenpv commented
I now get a TypeError: unhashable type: 'spacy.tokens.token.Token'
while in 1.5.0 the code runs (added Token to a set).
Your Environment
- Operating System: OSX
- Python Version Used: 3.5
- spaCy Version Used: 1.5.1
- Environment Information:
honnibal commented
Thanks! Puzzled why this worked before. Will add a __hash__
special method.
lock commented
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.