A rudimentary piece of Python that derives interesting data from tweets.
- Notice the shebang at the top of the
main.pyscript. Be sure this points to your local version of python 3.x.
- Executing is as easy as
./main.pyin your terminal.
- Be sure to check the paths in
main.py. You'll need to supply some json tweets. If you're our professor, we provided them to you. Else, go find some.
- Enjoy, and check the directory for
Be wary of excessively large datasets...
put together lists of good word, bad words scrub tweets for requested topic, ignoring irrelevant tweets massage tweet text into array of strings (words) actually get score for topic top (5) positive & bottom (5) negative tweets some kind of results report generated optional: figure out hashtag situation
- optional: add new words to dictionaries
for friday: intensifiers