Author: Cameron Wright
Reading JavaScript syntax and tutorials only gets you so far.
I wanted to do a simple project in JavaScript so that I could start
understanding the language better. This program counts the word frequency
for a given text file.
Filename | Description |
---|---|
wf.js | word frequency program |
README.md | This file |
Gettysburg-Address.txt | Textfile of the Gettysburg Address |
From the directory that this project is located run this command in either Linux terminal or Windows powershell.
$ node wf.js <text_file>
The output is printed on the console.
Summarize the main features of your program. It is also appropriate to instruct the user how to use your program.
This section should detail how you tested your code. Simply stating "I ran it a few times and it seems to work" is not sufficient. Your testing needs to be detailed here or even better, this section should document the appropriate smoke/unit/system tests that you wrote.
List known bugs that you weren't able to fix (or ran out of time to fix).
Discuss the issues you encountered during development and testing. What problems did you have? What did you have to research and learn on your own? What kinds of errors did you get? How did you fix them?