update dictionary file, remove encoding error char
ngram_count by category