Question: STAGE 3 I (Word Histogram) Design and implement a program called WordHistogram.java that creates a histogram that allows you to visually inspect the frequency distribution


STAGE 3 I (Word Histogram) Design and implement a program called "WordHistogram.java" that creates a histogram that allows you to visually inspect the frequency distribution of a set of word in a given file. The program should read the input filename and output filename as command line arguments. A word is defined as collection of letters a-z and A-Z For example if the input file is: How much wood would a woodchuck chuck If a woodchuck could chuck wood? He would chuck, he would, as much as he could, And chuck as much wood as a woodchuck would If a woodchuck could chuck wood. The output file will contain: a: 4 and 1 as 4 chuck: 5 could: 3 he: 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
