nltk-trainer

Why does the nltk lemmatizer not work for every word in Python?

Why does the nltk lemmatizer not work for every word in Python? Question: import ntlk lemmatizer = ntlk.WordNetLemmatizer() print(lemmatizer.lemmatize("goes")) print(lemmatizer.lemmatize("transforming")) The first example will with "goes" do work. The output is: "go". The second does not work. I get the output "transforming" but should be "transform". Asked By: TheRi || Source Answers: You need to …

Total answers: 1