This repo contains the code for Exercise 1 and Exercise 2 from Part A of Assignment B4.
This code produces a graph of the 10 most common words from Jane Austen's book Persuasion, not including stop words.
This code produces the function cat_latin which converts text into the newly created Cat Latin. In Cat Latin, the last letter of the word is moved to the front, the word is repeated, and -meow is added to the end of the word.
This code can be run by forking the repo and cloning it into R.
The text for Persuasion comes from the janeaustenr package.
Special thanks to Imogen Porter and Julia Desbiens for helping me trouble-shoot my code!