background preloader

Anycom

Facebook Twitter

lei yu

I am a engineer, and a programer

Twitter sentiment analysis using Python and NLTK. This post describes the implementation of sentiment analysis of tweets using Python and the natural language toolkit NLTK.

Twitter sentiment analysis using Python and NLTK

The post also describes the internals of NLTK related to this implementation. Background The purpose of the implementation is to be able to automatically classify a tweet as a positive or negative tweet sentiment wise. The classifier needs to be trained and to do that, we need a list of manually classified tweets. Let’s start with 5 positive tweets and 5 negative tweets. 网易新闻. MALLET homepage.