Question 1

The function to use to make a string variable, string1, uppercase is:


Question 2

A string variable, string2, has some lagging whitespace characters. You would remove these using:


Question 3

What does NLTK’s function word_tokenize() do?


Question 4

What is a sentence parser typically used for?


Question 5

If you want to map all derivationally related words to their root verb using NLTK, you will use: