Upgrade ngram dumper for debugging