Skip to content

Automatically runs text analysis on specified User and reports with TextStat information.

Notifications You must be signed in to change notification settings

benjithompson/TweetReportCard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweet Report Card Bot

This is a Twitter Bot script that gathers tweets and runs text analysis to determine various features.

Written in Python 3.

Installation

  1. Run install_dep.sh to install all necessary python package dependencies.
  2. Add the required fields in config.py to authenticate the Twitter API connection
  3. (Optional) - Change the nameslist tweeters to desired targets.
  4. run >python bot.py
  5. Follow prompts to use pickle as needed.
  6. Wait...

TextStat

Tweets are loaded into a list and analysed using the python package TextStat 0.3.1. All textstat stat values are averaged to determine a final score, which is used in the posted message. Due to textstat text grading relying on sentence length, twitter may receive an artificially lower score from the imposed character limit per tweet. This is mitigated by using a relative average tweet grade from other peer to the target tweeter.

NLTK

Not implimented yet.

About

Automatically runs text analysis on specified User and reports with TextStat information.

Resources

Stars

Watchers

Forks

Packages

No packages published