prepare parsed text for analysis in mahout