implemented cleaner bag of word model