In this challenge we would like you to find the most used word in a book. The word should not be part of the common English words (i.e. the, a, I, is).
Copyright free books for use are available via Project Guttenburg. We suggest the book titled “The Importance of Being Earnest” by Oscar Wilde.
A comma separated list of all the common English words is available at:
A suggested algorithm to find the most common word is:
|Use a regular expression to create a collection of individual words - eg. #”[a-zA-Z0-9||’]+”|
(str "Delete me and add your code to solve the challenge. Use a Clojure editor if you prefer")
Once you have solved this challenge, take a look at the suggested answers to the problem.