@@ -0,0 +1,976 @@
+#!/usr/bin/env python%0A%22%22%22%0ANPR 2019-11-10%0Ahttps://www.npr.org/2019/11/10/777941999/sunday-puzzle-7-letters%0A%0AThink of two five-letter words that are opposites. One of them begins with E, the other ends with E. %0ADrop both E's. The remaining eight letters can be rearranged to spell a new word that is relevant. %0AWhat are these three words?%0A%22%22%22%0Aimport sys%0Asys.path.append('..')%0Aimport nprcommontools as nct%0Acommon_words = nct.get_common_words()%0A#%25%25%0Afive_letter_words = frozenset(%5Bx for x in common_words if len(x) == 5 and (x.startswith('e') or x.endswith('e'))%5D)%0Aeight_letter_words = frozenset(%5Bx for x in common_words if len(x) == 8%5D)%0Aeight_dict = nct.make_sorted_dict(eight_letter_words)%0Afor w1 in five_letter_words:%0A    antonyms = nct.get_antonyms(w1).intersection(five_letter_words)%0A    for a1 in antonyms:%0A        sorted_string = nct.sort_string((w1+a1).replace('e', '', 2))%0A        try:%0A            print(w1, a1, eight_dict%5Bsorted_string%5D)%0A        except:%0A            pass%0A

Create 1110_relevant_antonyms.py