Grouping nounphrases and print it in CaboCha's format instead printing only nounphrases.
remove some bytes of garbage
Using global variables and separating method 'calculate' into 2 methods, 'updateTfAndDf' and 'calculateTfIdf'.