Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Below is the output getting 20 most frequent words of reddit_comments_2008.txt.  Please uncomment the last two lines in WordCounter's main method to observe the output below.

  • Simple User control

 In order to enable user to relatively easily obtain time processing and unique word counts, I created a method process() in  It can return processing time of each text file or unique word counts depending on the parameter.  The parameter is determined through command line.  Please type 0 to obtain processing time and any other integer to obtain unique word counts of each text file.


For this project, I received help from Professor Layton and Maxwell, TAs, and Qingbo.