you can use `nltk.compat.iteritems` here.