Description
This patch adds JSON output format to the clusterdump utility. Each cluster is represented as a JSON-encoded line. The command is something like:
>> mahout clusterdump -d dictionary -dt text -i clusters/clusters-2-final -p clusters/clusteredPoints -n 10 -o clusterdump.json -of JSON