The Term Frequency program works by running the main method of ConsoleProgram which requests two inputs from the user:
The directory containing the documents (including the trailing \).
The list of words (separated by spaces).
It then outputs a list of words and their respective document names, and frequencies.
Please enter directory containing document set (include final \):
C:\Users\Teresa\IdeaProjects\TF\SampleDocs\
Please enter word list:
queequeg whale sea
queequeg mobydick-chapter4.txt 0.006610576923076923
whale mobydick-chapter1.txt 0.0013458950201884253
sea mobydick-chapter1.txt 0.004486316733961417