parse the words in sentences