Attached is the standard example for a map reduce program called WordCount. This particular program breaks the string by space and leaves the punctuation. (see output image)
I need this [login to view URL] modified so that:
1. Modify map() to eliminate not alphabet characters. Preferably this should be done by using [login to view URL]() of class java.lang.String. instead of Stringtokenizer. Also please provide a smaller version of the program with only the modified map() that writes to the console ([login to view URL] instead of contex) for me to verify that program works.
2. Modify reduce() to list only words with less than 1000 occurrences and gets rid of verse counts in the form of "01:004:010"
Deliverables:
Modified [login to view URL] called [login to view URL]
THIS PROJECT HAS A VERY SHORT TURNAROUND (HOURS). PLEASE BID ACCORDINGLY.
Small program with only map class called maptest to test the map function by writing to the console.
All files should be debugged and error free.