3 ms·
TextBlob is nice, but for sentiment analysis it basically wraps Pattern (https://github.com/clips/pattern https://github.com/clips/pattern). Pattern uses a whi
by languagehacker 13y ago
TextBlob is nice, but for sentiment analysis it basically wraps Pattern (https://github.com/clips/pattern https://github.com/clips/pattern).
Pattern uses a whitelist heuristic approach that's got poor precision and is no longer state of the art.
Not that there's anything wrong with this code, but anyone who is looking to use sentiment analysis in their work should consider researching more up-to-date alternatives which don't necessary have Pythonic alternatives just yet.
- shekhargulati 13y agoSentiment analysis is a hard thing to get correct. I was not aware that Pattern is no longer state of the art library. The tests that I performed showed promising results. I will try to get deeper into other alternatives.
- mh- 13y agocan you share some links to open source libs that implement what you'd consider state-of-the-art in this field? just curious, as an onlooker. :)
- illicium 13y agoPattern looks like someone decided to rewrite both Scrapy and NLTK for no obvious reason
- rmrfrmrf 13y agoIt's not state of the art, but I just ran this guy's code with about 100 samples and it was spot on. It should be noted that the "state of the art" in sentiment analysis is actually pretty far advanced. For basic polarity testing, this works fine.
- mark_integerdsv 13y agoWould you sell the results? That's basically my measure for real world vs academic.
- rmrfrmrf 13y agoAs a library, I'd have no problem selling a service that used this, with the idea that for an MVP we could launch and then switch out with a more robust library.
- hiharryhere 13y agoDouble negatives are a bit flummoxing. "This isn't a bad idea" Is flagged red