Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 909 Bytes

File metadata and controls

18 lines (12 loc) · 909 Bytes

Cache-of-Most-recently-used-words-in-Twitter

Uses Twitter streaming API to track a keyword and maintain cache of most recently used words

Twitter_streaming1.py tracks twitter streams using a keyword and maintains cache of most recently used words. Score is updated every 30seconds and word is checked every one minute.

Download Twitter_streaming1.py file run the command python Twitter_streaming1.py on your terminal


Twitter Streaming API to track a keyword and maintain Frequency of each term in the stream

download Streaming1.py ( streams the data and stores in python.json file ) download Frequency1.py ( preprocess the tweets and calculates frequency of each term) run the following commands on your terminals python Streaming1.py python Frequency1.py ( on a new shell)