TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Twitter sentiment analysis using Python and NLTK

79 pointsby ananthrkabout 13 years ago

5 comments

detourabout 13 years ago
The Pattern library has sentiment analysis built-in, pretty fun toolkit to play around with.<p><a href="http://www.clips.ua.ac.be/pages/pattern-en#sentiment" rel="nofollow">http://www.clips.ua.ac.be/pages/pattern-en#sentiment</a>
评论 #3709297 未加载
lrvickabout 13 years ago
Great write-up. My company (Tawlk) actually open sourced a library to automate this very thing. We typically get around 80% accuracy with about 2 million samples.<p>You can grab our sample set here: <a href="https://github.com/downloads/Tawlk/synt/sample_data.bz2" rel="nofollow">https://github.com/downloads/Tawlk/synt/sample_data.bz2</a><p>And check out the project here: <a href="http://github.com/Tawlk/synt" rel="nofollow">http://github.com/Tawlk/synt</a><p>It also ships with a full CLI interface if you just want to play with it without getting knee deep into the code.<p>Also if you want to to see a stripped down stand-alone code sample that steps you through the process I made this gist:<p><a href="https://gist.github.com/1266556" rel="nofollow">https://gist.github.com/1266556</a><p>Enjoy :)
denzil_correaabout 13 years ago
A better example is shown by Jacob Perkins on his blog - <a href="http://streamhacker.com/2010/05/10/text-classification-sentiment-analysis-naive-bayes-classifier/" rel="nofollow">http://streamhacker.com/2010/05/10/text-classification-senti...</a>
abyssknightabout 13 years ago
Sounds like what tawlk does. Wonder if their training data/method is better, though.
评论 #3713014 未加载
jasonkolbabout 13 years ago
What are neutral tweets classified as?
评论 #3713050 未加载