title: Given a list of words, How to put them into "Families"?
body: <p>I'm creating an evil hangman game using python and I'm stuck. I'm trying to figure out how to put words into families. For example, suppose I have a list</p>
  
  <pre><code>ALLY BETA COOL DEAL ELSE FLEW GOOD HOPE IBEX 
  </code></pre>
  
  <p>Every word falls into one of a few families based on where the E is: </p>
  
  <pre><code>- - - -, containing ALLY, COOL, GOOD
  - E - -, containing BETA and DEAL
  - - E -, containing FLEW and IBEX
  E - - E, containing ELSE
  - - - E, containing HOPE.
  </code></pre>
  
  <p>Is there a way to use a dictionary to help map out what words belong in what families? Our class hasn't gotten to talk about dictionaries yet, but I read ahead and believe it's possible. The file i'm using is around 170,000 words, but above is just a simple example.</p>