Reference no: EM13337422
Basic Tasks (finish all)
1. Prompt the user to enter a word, return its definition and scrabble score (or output "not valid in scrabble")
2. Find the word(s) with more than three ‘z''s
3. List the words that have a 'q' without a following 'u' eg 'Iraqi'
4. List all words that are a noun and a verb e.g. "Phone"
o Use isVerb() and isNoun() to do this
5. List all words that are palindromes. e.g .'civic'
6. Find the word(s) with the highest scrabble score
7. Find the word with the highest scrabble score to length ratio. (scrabble score divided by length of word)
Intermediate tasks (finish any 2)
8. Let the user enter a string of letters, return the word with the highest scrabble score which can be made using (not necessarily all) of the letters.
9. Prompt the user for a word, and report all words that rhyme (by checking if the last 3 letters are the same)
10. Prompt the user for a word, and report all words that are anagrams of the word (e.g. "admirer" and "married")
Advanced tasks (finish 1)
11. Let the user play a game of hangman (random chosen word). Hyphenated words should have the hyphen indicated. Show the words definition after the game finishes. (it's ok to say x guesses remaining, if you don't want to draw an ascii art graphic)
12. From the dataset calculate the probability of any letter occurring next to any other letter; and use this to generate 10 random words which sound like English words, but do not exist in the dictionary;
13. Create a glossary generator:
1. Parse the file "many_english_works.txt" one word at a time. Every time a word is found that is in the dictionary increment the words usageFrequency .
2. Parse the text "new_work.txt" one word at a time, for every word that is also in the dictionary and isRareWord() returns true print the word and its definition. Careful not to print the same word twice!