You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

523 B

Exercise 5 Stemming

The goal of this exercise is to learn to use stemming using NLTK. As explained in details in the article, stemming is the process of reducing inflection in words to their root forms such as mapping a group of words to the same stem even if the stem itself is not a valid word in the Language.

Note: The output of a stemmer is a word that may not exist in the dictionnary.

text = """
The interviewer interviews the president in an interview 
"""
  1. Return the list of the stemmed tokens.