title: NLTK NaiveBayesClassifier is extremely slow in Python?
body: <p>I'm using the NLTK NaiveBayesClassifier for Sentiment analysis. The whole thing is incredibly slow. I've tried even saving my trainer data so I don't have to retrain each time, I notice no difference in speed/time..</p>
  
  <p>To save:</p>
  
  <pre><code>import cPickle
  f = open('my_classifier.pickle', 'wb')
  pickle.dump(classifier, f)
  f.close()
  </code></pre>
  
  <p>To load later:</p>
  
  <pre><code>import cPickle
  f = open('my_classifier.pickle')
  classifier = pickle.load(f)
  f.close()
  </code></pre>
  
  <p>What else can I do to just improve the speed? It takes 6 seconds for analyses a sentence.. I would like &lt;1 second (I'm running this on a website).</p>
  
  <p>*Now I've changed to saving/loading with cPickle instead of pickle and the performance has dropped to 3 seconds!</p>