Changed how frequency distribution gets cleaned after script, changed
script to read tokens from a tokenizer keyValueResult and provide a
frequency distribution