avoid modifying dictionary during iteration over dictionary
Merge branch 'master' of https://github.com/nltk/nltk into fdist