WordNet Lemmatization

Report a typo

You are given a word that can be different parts of speech in different contexts. Lemmatize the word using the WordNet lemmatizer three times with different part-of-speech tags:

  • the first time as a noun;
  • the second as an adjective;
  • the third as a verb.

Sample Input 1:

running

Sample Output 1:

running
running
run
Write a program in Python 3
from nltk.stem import WordNetLemmatizer


# your code here
___

Create a free account to access the full topic