explosion / spaCy

💫 Industrial-strength Natural Language Processing (NLP) in Python

Home Page:https://spacy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacy 1.5.1 TypeError: unhashable type: 'spacy.tokens.token.Token'

kootenpv opened this issue · comments

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:

Thanks! Puzzled why this worked before. Will add a __hash__ special method.

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.