News for hackers. Stuff that matters.
Re:Twitter sentiment analysis using Python and NLTK by fdb on Thursday March 15, 2012 @12:55PM (#3709297)
In Pattern, sentiment analysis is a one-liner:

    >>> from pattern.en import sentiment
    >>> print sentiment(
    >>>     "The movie attempts to be surreal by incorporating various time paradoxes,"
    >>>     "but it's presented in such a ridiculous way it's seriously boring.") 

    (-0.34, 1.0)

There are no comments on this comment yet.