Title: PREDICTIVE TWITTER API v1participant front endparticipant application.pyparticipant routes.pyparticipant main.pyparticipant trained\nML modelsparticipant interest affinities\n+ word clouds datasetparticipant Google NLP APIparticipant Crimson\nHexagon APIparticipant Twitter APINote over application.py: starts app\nand listens\nto front endNote over interest affinities\n+ word clouds dataset: has historical lists\nand word clouds over\n the past yearfront end -->> application.py: sends jsonapplication.py ->> routes.py: passes GET requestNote over routes.py: gets 1. content\nand 2.timestamproutes.py -> main.py: process_tweet()Note over main.py: load ML modelNote over main.py: preprocess json to\ngenerate model inputmain.py -> trained\nML models: predict_from_row()Note over trained\nML models: predicttrained\nML models -> main.py: sends back predictions\nfor Retweet Count, Reply Count\nPotential Impressions, and\nTotal Engagementmain.py --> Google NLP API: sends content to APINote over Google NLP API: analyze sentiment and\nentities in contentGoogle NLP API --> main.py: sends sentiment score and entities listmain.py -> interest affinities\n+ word clouds dataset: compares entities against\naffinities and word clouds listinterest affinities\n+ word clouds dataset -> main.py: gets matching keywords list (TO BE IMPROVED)main.py --> Crimson\nHexagon API: sends timestamp to APINote over Crimson\nHexagon API: process word affinities\nfor timestampCrimson\nHexagon API --> main.py: sends list of word affinitiesmain.py --> Crimson\nHexagon API: sends timestamp to APINote over Crimson\nHexagon API: process twitter metricsCrimson\nHexagon API --> main.py: sends list of top hashtags and posts with highest retweetsmain.py --> Twitter API: sends tweet id of top postsTwitter API --> main.py: sends content of tweetsmain.py --> Google NLP API: sends contents for parsingNote over Google NLP API: analyze entities\nin contentsGoogle NLP API --> main.py: sends salient entities of top retweeted postsNote over main.py: calculate context as a % of\ncurrent tweet entities /\ntop retweeted post\n entitiesmain.py --> Crimson\nHexagon API: sends request for one week of activity volume matching timestampNote over Crimson\nHexagon API: pokemon buzz\nmonitor processes\nactivity volumeCrimson\nHexagon API --> main.py: sends tweet volume by day and time on buzz monitorNote over main.py: calculate best time as a %\nbased on historical recordsmain.py -> routes.py: returns jsonroutes.py --> front end: returns jsonNote over front end: process json to\nshow results