Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program in java language that that reads in words from a file(input.txt is included in .rar ), while discarding numbers and special symbols

Write a program in java language that that reads in words from a file(input.txt is included in .rar ), while discarding numbers and special symbols (you should replace each discarded symbol with space).

The words must be stored in alphabetical order in a linked structure(s), with each node holding the word and a the number of occurrences in input file. (In order to decrease the running time of your program you may keep a separate linked list for each letter.)

The output of your project is a file named out.txt which contains a list of words with frequencies.\\

Remark

Avoid using global variables.

Convert every alphabetical letter to lower case.

Ignore all numeric as well as following characters:

@ # $ % ^ & * ( ) ~

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_2

Step: 3

blur-text-image_3

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

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions

Question

- What impact will identifying a theme have on your questions?

Answered: 1 week ago

Question

=+j on to staff their operations in the global marketplace.

Answered: 1 week ago