Code Monkey home page Code Monkey logo

ir_project's Introduction

Information Retrival project

Tweetify personalized search engine for tweets

Develop by

  • Matteo Pelucchi: 806798
  • Luca Romanato: 807691

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/LucaRomanato/IR_project.git
cd IR_project

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 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()'

ir_project's People

Contributors

lucaromanato avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.