nlp-architect icon indicating copy to clipboard operation
nlp-architect copied to clipboard

ImportError: cannot import name 'LEMMA_EXC'

Open Pradhy729 opened this issue 5 years ago • 1 comments

Looks like spacy 2.1 --> 2.2 has changed the way lemmatizer objects are built. See stack-overflow answer for details.

I can update the library to account for this migration. I have a fork that I can create a pull request from. Let me know.

Steps to reproduce the behavior: Run "from nlp_architect.pipelines.spacy_bist import SpacyBISTParser" using spacy 2.2.

**Environment setup: **

  • OS (Linux/Mac OS): Linux SLES12
  • Python version: 3.6; spacy 2.2

Pradhy729 avatar Apr 20 '20 17:04 Pradhy729

Hi @Pradhy729, thanks for reporting. Please feel free to contribute (and any other fixes you might have). Thank you!!

peteriz avatar Apr 27 '20 06:04 peteriz