develop mallet related mapreduce