centre-for-humanities-computing / DaCy

DaCy: The State of the Art Danish NLP pipeline using SpaCy
https://centre-for-humanities-computing.github.io/DaCy/
Apache License 2.0
92 stars 20 forks source link

ImportError for lemmy.pipe #200

Closed vrunm closed 1 year ago

vrunm commented 1 year ago

I'm trying to use Lemmy as a SpaCy integration following the instructions here. However, when I try running import lemmy.pipe I get the error ImportError: cannot import name 'PRON_LEMMA' from 'spacy.symbols' .

I'm using python 3.8 and SpaCy 3.3.0 with the DaCy pipeline. I am running into this import issue: cannot import name 'PRON_LEMMA' from 'spacy.symbols' (/opt/conda/lib/python3.7/site-packages/spacy/symbols.cpython-37m-x86_64-linux-gnu.so)

Thank you for you input.

KennethEnevoldsen commented 1 year ago

Hi @vrunm, lemmy sadly does not work with spacy 3 or higher. Thus you can't use it with DaCy. I have however considered adding it to DaCy in the future as lemmy it No longer maintained.

vrunm commented 1 year ago

Hope it is there in the next Version of DaCy.