def translate(self, word):
if (word not in self.transmissions):<EOL><INDENT>raise NoMatchError('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>trans = self.transmissions[word]<EOL>return sorted(((k, v) for k, v in trans.items() if v != <NUM_LIT:0>), <EOL>reverse=True)<EOL><DEDENT>
pass in a word string that you
would like to see probable matches for.