(1) Create a variable phrase containing a list of words. Review the operations described in the previous chapter, including addition, multiplication, indexing, slicing, and sorting.

(2) Use the corpus module to explore austen-persuasion.txt. How many word tokens does this book have? How many word types?

(3) Use the Brown corpus reader nltk.corpus.brown.words() or the Web text corpus reader nltk.corpus.webtext.words() to access some sample text in two different genres.

(4) Read in the texts of the State of the Union addresses, using the state_union corpus reader. Count occurrences of 'men', 'women', and 'people' in each document. What has happened to the usage of these words over time?

Plotting and Tabulating Distributions