title: How to obtain all possible words from given hunspell dictionary?
body: <p>I would like to parse open office supporting hunspell formatted <code>aff</code> and <code>dic</code> files. </p>
  
  <p>English <code>aff</code> and <code>dic</code> files can be downloaded from here for example : <a href="http://extensions.openoffice.org/en/project/english-dictionaries-apache-openoffice" rel="noreferrer">http://extensions.openoffice.org/en/project/english-dictionaries-apache-openoffice</a></p>
  
  <p>I want to scan each line of the given <code>.dic</code> file and generate every possible word of the each line with the provided <code>.aff</code> file</p>
  
  <p>How can i do that?</p>
  
  <p>I have installed NHunspell framework but it does not have that feature : <a href="https://www.nuget.org/packages/NHunspell/" rel="noreferrer">https://www.nuget.org/packages/NHunspell/</a></p>
  
  <p>For example for the english language lets consider </p>
  
  <pre><code>make/UAGS
  </code></pre>
  
  <p>make can be <code>make, made, makes, making</code> etc</p>
  
  <p>Now i need parser to give me all these combinations. How can i obtain them? Ty very much</p>
  
  <p>So basically i want to scan each line of the dictionary and generate all possible words from the word of that line and i dont know how can i do that</p>
  
  <p>I can also write my own parsers, but it seems to me rules are pretty complex and there are no detailed and easy documentation about this</p>
  
  <p>Here what i want basically. The image explains very clearly </p>
  
  <p>Giving <code>analyze/ADSG</code>, <code>en.dic</code> and <code>en.aff</code> file and obtaining all the following words</p>
  
  <pre><code>analyze, analyzes, analyzing, analyzed, reanalyze, reanalyzes, reanalyzing, reanalyzed
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/tlFUC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tlFUC.png" alt="enter image description here"></a></p>