Question
Create a Java program that analyzes a folder of input files and puts the output into a new file. The program cannot use a Map
Create a Java program that analyzes a folder of input files and puts the output into a new file. The program cannot use a Map Abstract Data Type or a Dictionary.
The program should output the length of longest line in the file (which is 80 characters), average line length, Number of unique space-delineated tokens (case-sensitive), Number of unique space-delineated tokens (case-insensitive), Number of all space-delineated tokens in file, Most frequently occurring token(s), Count of most frequently occurring token (case-insensitive), 10 most frequent tokens with their counts (case-insensitive), 10 least frequent tokens with their counts (case-insensitive).
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