Skip to content

Drugo96/Tweetify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweetify personalized search engine for tweets

Develop by

  • Drugo96
  • LucaRomanato

About

The following project implemented a custom search engine for tweets based on user's preferences.

Requirements

Instructions

Clone repository:

git clone https://github.com/Drugo96/Tweetify.git
cd Tweetify

Install dependency:

pip install -r requirements.txt

Now, it is usefull to put ElastiSearch folder in the root of the project and rename ElasticSearch folder in "elasticsearch" (without quotes)

The root folder must be as follow:

C:.
│   .gitignore
│   README.md
│   requirements.txt
│
├───elasticsearch
├───pages
├───Script
└───Tweets-csv

Run ElasticSearch, you can use this command if the previous suggested commands have been executed:

./elasticsearch/bin/elasticsearch

Alternatively, just start the elasticsearch file in the bin folder

Now the environment is ready, run the program with this command:

cd Tweetify/Script
python main.py

Notes

  • Tweets are in: "Tweets-csv/crawling-tweets.csv"
  • Users's bows are: in "Tweets-csv/users-bows.csv"

If you need to regenerate these files you have to lunch the following commands:

  • Tweets: python -c 'import Twitter; print Twitter.getTweetPrompt()'
  • Bows: python -c 'import Twitter; print Twitter.getUserPrompt()'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published