Remove empty line
Correctly build argument to frozenset
Call isupper() on the word attribute of the Word object. While here, casefold() lemmas to check whether they're in english_dict
Fix name of module in import and correctly handle the case when a symbol corresponds to multiple 'main' symbols