title: Using node.js and natural language processing to handle multiple word phrases
body: <p>I'm using the very cool <a href="https://github.com/NaturalNode/natural">natural</a> library for node.js.  </p>
  
  <p>I'm trying to train my classifier to match the phrase <code>user experience</code>.  My issue is if I do something like this:</p>
  
  <pre><code>classifier.addDocument(['user experience'], 'ux');
  </code></pre>
  
  <p>It doesn't match 2 word phrases, I believe because it tokenizes the words.  If I do something like this:</p>
  
  <pre><code>classifier.addDocument(['user', 'experience'], 'ux');
  </code></pre>
  
  <p>It works like I want it to, but my issue is, I don't want to just match on the word <code>user</code> because an article could mention include the word <code>user</code> multiple times and it would potentially have nothing to do with user experience, which would lead to inaccurate classifications.  So, my question is how does one match 2 or more word phrases using NLP?    </p>
  
  <p>Thanks for you help in advance. </p>