decode the word