Exercise 11: Lexical Resources, WordNetThis exercise is based on the later sections of NLTK Book Ch.2: 4 Lexical Resources and 5 Wordnet. | ||
For this exercise, let's explore three of NLTK's lexical resources: (1) the stopword list (stopwords), (2) the CMU Pronouncing Dictionary (cmudict), and (3) WordNet (wordnet). For how to access and work with them, refer to the NLTK book sections linked above.
In Python shell, solve the following problems:
When you are done exploring, save your IDLE session as a text file (File > Save As ... > and save as a .txt file). After that, open up the file again and edit it to clearly mark the answers to Q1 through Q3, so I will be able to quickly find them.
|