title: Need to copy the contents of a text file to a dictionary
body: <p>I have a text file such that each line consists of one word followed by a comma-separated list of that word's synonyms. So for example, one line would look like this:</p>
  
  <pre><code>word, synonym1, synonym2, synonym3
  </code></pre>
  
  <p>so the first word in each line is the key and the rest are its values</p>