MLearning.ai
Published in

MLearning.ai

NLP-03 Lemmatization and Stemming using spaCy

https://www.pexels.com/photo/words-text-scrabble-blocks-695571/

Lemmatization

A lemma is the base form of a token. The lemma of walking, walks, walked is walk. Lemmatization is the process of reducing the words to their base form or lemmas.

The following code shows how to reduce words to their lemmas.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store