update bi and tri grams
at encoding fix for blogs and news