title: Building Abreviations Dictionary from Text file
body: <p>I would like to build a dictionary of abreviations.</p>
  
  <p>I have a text file with a lot of abreviations. The text file looks like this(after import)</p>
  
  <pre><code>with open('abreviations.txt') as ab:
      ab_words = ab.read().splitlines()
  </code></pre>
  
  <p>An extract:</p>
  
  <pre><code>'ACE',
  'Access Control Entry',
  'ACK',
  'Acknowledgement',
  'ACORN',
  'A Completely Obsessive Really Nutty person',
  </code></pre>
  
  <p>Now I want to build the dictionnary, where I have every uneven line as a dictionary key and every even line as the dictionary value. </p>
  
  <p>Hence I should be able to write at the end:</p>
  
  <pre><code>ab_dict['ACE']
  </code></pre>
  
  <p>and get the result:</p>
  
  <pre><code>'Access Control Entry'
  </code></pre>
  
  <p>Also, How can I make it case-insensitive ?</p>
  
  <pre><code>ab_dict['ace']
  </code></pre>
  
  <p>should yield the same result</p>
  
  <pre><code>'Access Control Entry'
  </code></pre>
  
  <p>In fact, it would be perfect, if the output would also be lower case:</p>
  
  <pre><code>'access control entry'
  </code></pre>
  
  <p>Here is a link to the text file: <a href="https://www.dropbox.com/s/91afgnupk686p9y/abreviations.txt?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/s/91afgnupk686p9y/abreviations.txt?dl=0</a></p>