Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with a project that i'm working on called TextStatistics on java, I have no clue on how to do number 2 thru

image text in transcribedI need help with a project that i'm working on called TextStatistics on java, I have no clue on how to do number 2 thru 5. above is the TextStatisticsInterface.javaimage text in transcribedimage text in transcribed

2 Interface to get statistics from a text file. Used in the testing program. 3 author CS121 Instructors 5 public interface TextStatisticsInterface *greturn the number of characters in the text file public int getcharCount); kx *greturn the number of words in the text file public int getwordCount ); *greturn the number of lines in the text file public int getLineCountO: kok * greturn the letterCount array with locations [o].. [25] for 'a'through 'z' public intI] getLetterCount); * greturn the wordLengthCount array with locations [o]..[23] with location [i] * storing the number of words of length i in the text file. Location [o] is not used. * Location [23] holds the count of words of length 23 and higher. public intI] getwordLengthCount ); kok * greturn the average word length in the text file public double getAveragewordLength)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

Explain the different types of marketing strategies.

Answered: 1 week ago

Question

Explain product positioning.

Answered: 1 week ago

Question

Explain Industrial market segment.

Answered: 1 week ago