modify ParseCorpus to make it run on EMR supported Hadoop ver.