My project analyses tweets from Donald Trump for positive, neutral and negative semantics.
- Python 3.5 (or later)
- NLTK
- TextBlob
- WordCloud
- Matplotlib
- Tweets in JSON format (http://www.trumptwitterarchive.com/archive)
pip3 install nltk textblob wordcloud matplotlib
python3 twit_semantics.py
How do I run your tests? Make it as easy as possible to do this! Do I actually need tests...?
pip install -r requirements.txt
./tests.py
What versioning statergy are you using for your project, something like semantic versioning might be a good idea.
- Luke Ireland
View the docs/report.md online, or download it and build a pdf with:
pandoc -s --metadata title="Trump Tweet Semantics Report" --metadata author="Luke Ireland" report.md --pdf-engine=xelatex -V 'mainfont:DejaVuSerif' -V 'sansfont:DejaVuSans' -V 'monofont:DejaVuSansMono' -V 'mathfont:TeXGyreDejaVuMath-Regular' -o report.pdf