Skip to content

Lemmatizer problem migrating from spaCy v2 #9512

Discussion options

You must be logged in to vote

Sorry to hear you're having trouble with this.

Can you clarify what you did that caused the E1004 to show up? Were you trying to load an old model, or trying to make a model in v3 with the same structure, or something else?

Note that at some point after 2.1 the lemmatizer tables were moved to a package called spacy-lookups-data, so you'll need to install that if you're making a Lemmatizer directly and want the lookup tables. Normally that's not necessary if you're using a pretrained pipeline.

With the old version of Spacy we did it in the following way:
**Word** -> Fails, **Lemma** -> Fail (**Version 2.3.1: with token.lemma_**)

Sorry, but I don't understand what you mean here. The way the

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@adrianeboyd
Comment options

@polm
Comment options

@joaneeet7
Comment options

@joaneeet7
Comment options

@polm
Comment options

Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / lemmatizer Feature: Rule-based and lookup lemmatization v2 spaCy v2.x
3 participants