Question
Java Assignment Employ an extension to the general HashMap or devise your own mechanism that provides a count of words in Homer's Odysseys (plus poems)
Java Assignment
Employ an extension to the general HashMap or devise your own mechanism that provides a count of words in Homer's Odysseys (plus poems) to be used as input for a word cloud as follows:
1. Read the attached file, 2. Determine the words (noting to put your general approach into the comments), 3. Count the words with the help of a HashMap. 4. Print the HashMap to the terminal as count followed by a space followed by the word. 5. Paste the output into an online word cloud generator, such as https://www.wordclouds.com and submit your word cloud and your code.
TEXT FILE:
The Project Gutenberg EBook of The Odysseys of Homer, by Homer This eBook is for the use of anyone anywhere in the United States and most other parts of the world at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under the terms of the Project Gutenberg License included with this eBook or online at www.gutenberg.org. If you are not located in the United States, you'll have to check the laws of the country where you are located before using this ebook. Title: The Odysseys of Homer Together with the shorter poems Author: Homer Translator: George Chapman Release Date: May 8, 2015 [EBook #48895] Last updated: November 11, 2015 Language: English Character set encoding: UTF-8 *** START OF THIS PROJECT GUTENBERG EBOOK THE ODYSSEYS OF HOMER *** Produced by Phil Schempf
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started