explosion / explosion/spaCy

"whitelisting" lemmatised as "whiteliste"

Open
#13,860 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
33.9k
Forks
4.7k
Avg merge
3m
Merged PRs (30d)
1

Description

As it says in the title, the lemmatisation of "whitelisting" is wrong.

## How to reproduce the behaviour
```
>>> import spacy
>>> nlp = spacy.load("en_core_web_sm")
>>> sent = nlp("I am whitelisting this word.")
>>> for tok in sent:
... print(tok.text, tok.lemma_, tok.pos_)
...
I I PRON
am be AUX
whitelisting whiteliste VERB
this this DET
word word NOUN
. . PUNCT
```

## Your Environment
- **spaCy version:** 3.8.7
- **Platform:** Linux-6.8.0-1029-gcp-x86_64-with-glibc2.35
- **Python version:** 3.12.11
- **Pipelines:** en_core_web_sm (3.8.0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.