NLTK still supports Pytho 2.6, and dict comprehensions are not available there.