This simple script reads text files outputs the each word in the file along with the frequency with which it occured.
To use the script as is, following steps should be take:
- Put the text file in
./data/
folder relative to the path of the script - Run the script
- Enter the name of the file with extension