title: Text mining with PHP
body: <p>I'm doing a project for a college class I'm taking.</p>
  
  <p>I'm using PHP to build a simple web app that classify tweets as "positive" (or happy) and "negative" (or sad) based on a set of dictionaries. The algorithm I'm thinking of right now is Naive Bayes classifier or decision tree.</p>
  
  <p>However, I can't find any PHP library that helps me do some serious language processing. Python has NLTK (<a href="http://www.nltk.org" rel="noreferrer">http://www.nltk.org</a>). Is there anything like that for PHP?</p>
  
  <p>I'm planning to use WEKA as the back end of the web app (by calling Weka in command line from within PHP), but it doesn't seem that efficient.</p>
  
  <p>Do you have any idea what I should use for this project? Or should I just switch to Python?</p>
  
  <p>Thanks</p>