refine pos of words.