title: Apply association rules to text
body: <p>Is it possible to apply association rules algorithm to text?</p>
  
  <p>Suppose I have a database with multiple user comments. I want to know what words are frequently typed together. (eg: when the word "pizza" appears in a comment, the word "Domino's" usually appears too)</p>
  
  <p>Are association rules optimal for this case? Are there any alternatives to association rules that are faster? It doesn't matter which language implements it (but preferably Python or R, can also use RapidMiner).</p>
  
  <p>Example:</p>
  
  <pre><code>  comments
  1 I ate Domino's pizza and it's the best
  2 Yesterday I ate Domino's pizza
  3 I like pizza, but not Domino's
  </code></pre>
  
  <p>Result should be:</p>
  
  <pre><code>pizza
    Domino's (1.0) =&gt; strongest association because the word "Domino's" appeared every time the word "pizza" appeared
    ate (0.66) =&gt; the word "ate" appeared 2/3 of the times the word "pizza" appeared
  </code></pre>