A keyword search engine that accepts a text file of tweets as input and outputs the most relevants tweets.
- Python 3.7.3
- Linux OS (Ubuntu)
IMPORTANT: MAKE SURE YOU HAVE PYTHON 3.7.x INSTALLED. THE CODE WILL NOT RUN WITH OLDER VERSIONS OF PYTHON!
Run the following commands to run the source code:
$ cd twitter_keywordsearch/
$ python controller.py
This first demo shows the program work for a small set of sample tweets. As observed, the program ranks the tweets based on how many times each word of the pattern shows up.
The second demo shows that the user can read the tweets used in the dataset. In addition to this, the dataset used are real tweets extracted from Twitter. The tweets with pattern "girl cry" is printed.