title: How do I autoscan local documents to add words to a custom dictionary?
body: <p>I'd like my dictionary to know more of the words I use - and don't want to manually add all possible words as I end up typing them (I'm a biologist/bioinformatician - there's lots of jargon and specific software and species names). Instead I want to:</p>
  
  <ol>
  <li>Take a directory of existing documents. These are PDFs or Word/latex documents of scientific articles; I guess they could be "easily" be converted to plain text.</li>
  <li><strong>Pull out all words that are not in the "normal" dictionary.</strong></li>
  <li>Add these to my local custom dictionary (on my mac that's  <code>~/Library/Spelling/LocalDictionary</code>. But it would make sense to add them in the libreoffice/word/ispell custom dictionaries as well.</li>
  </ol>
  
  <p>1 and 3 are easy. How can I do 2? Thanks!</p>