Articles → SPACY → Lemmatization In Spacy
Lemmatization In Spacy
Purpose
Example
import spacy
nlp = spacy.load("en_core_web_sm")
doc = nlp("The striped bats are hanging on their feet for best")
for token in doc:
print(token.text, "→", token.lemma_)
Output
| Posted By - | Karan Gupta |
| |
| Posted On - | Monday, November 24, 2025 |