Merge "Refactoring PrevWordsInfo."