sbhackerspace/sbhx-snippets — comment on commit 9a904f8430568691912289bc3d6443923ffd00a6
File:  line 0
By elimisteve:

To build upon what Preston said, if you remove the case insensitively-duplicate word pairs (e.g., "Our", "our") from `commonwords` and do

hntitlesplit = [w for w in hntitlesplit if w.lower() not in commonwords]

instead of

hntitlesplit = [w for w in hntitlesplit if w not in commonwords]

then you can save yourself some unnecessary duplication.