Tuesday, November 27, 2001 12:53 PM
how to use your frequency count program to implement the
count the number of times a word occurs in a particular text file.
It will then return to the user a alphabetized listing of the words
in the file and the number of times they occured. The
program will accept an input file and an output file on
the command line in the following format: command infile outfile If the user fails
to provide one or both file names return a text message telling the user how to use the program. The infile will contain text in
standard english format. You will find every word in the text and count the number of
times it occured. Words will be considered anything that starts with a letter and ends
either with a space, return, or period. Do not include the trailing space, return or period
with the word. All words should be treated case insensitive.
Re: word frequency count
Thursday, November 29, 2001 08:17 AM