Chapter 4 Code

Here is the code for Chapter 4. There are 13 in total; a couple need troubleshooting. I have marked those with issues. The online book I  used displayed all the chapters in the webpage, so I may have a couple of programs in other chapters. Give it a looksee and then we can merge it.

Program List:
Code 1: Gender names and plot
Code 2: Program to search a wordlist to solve a word puzzle
Code 3: % of words that are not stopwords
Code 4: Unusual words in a text
Code 5: Languages most common wordlengths
Code 6: Plotting words used over time with the Inaugural Addresses
Code 7: Drawing Trees
Code 8: Ave of sentence in Brown corpus, by category
Code 9: See a graph of words in genres
Code 10: Find the longest word in a text or corpus
Code 11: Text from the web
Code 12: User input and tokenization
Code 13: Stemming text