Skip to content

twitter sentiment analysis and comparison between SQL and NoSQL

Notifications You must be signed in to change notification settings

D3mianGianoz/Advanced_Database

Repository files navigation

Progetto Unito MAADB

Repository for the Advanced Database Models and Architectures (MAADB 🇮🇹) exam's projects, session 2020-2021. Developed with love ❤ by Damiano Gianotti and Lorenzo Tabasso.

This project is concerned with sentiment analysis: extrating text and emoij from 60000+ tweets while comparing two different DBMS solutions: MariaDB(SQL) and MongoDB(NoSQL)

Installation

In ordert to run this project you need to valid Docker and Python installation

Docker

We used Docker in order to setup the same envoriment om nultiple machines. To run the project, you'll first have to install Docker.

You can install Docker in several ways. If you're using Linux the best way is to install it using your favorite package manager, othwerise, visit Docker download page.

Examples

# Ubuntu
sudo apt-get install docker docker-compose
# MacOS
brew install --cask docker
# Windows (Chocolately)
choco install docker-desktop

After installation, verify that Docker is correclty running with

docker info

If you are on unix sistem you maybe need to follow this post-installation step https://docs.docker.com/engine/install/linux-postinstall/

Python

This entire project is developed in Python 3.7 using virtual enviroments. If you don't have Python installed on ypur machine, you first need to install python and then install all the dependencies needed for run the project.

You can install python via web visiting Python download page or with your favorite package manager.

Examples

# Ubuntu
sudo apt-get install python3.7 # At least 3.7
# MacOS
brew install python@3.7 # At least 3.7
# Windows (Chocolately)
choco install python3

Then, to create the virtual enviroment see this guide from official python docs.

Usage

Execute the setup script

# On Linux and MacOS
./setup
# On Windows
setup

Verify that is correclty running

docker ps

If you wanna take down the net

docker-compose down

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

About

twitter sentiment analysis and comparison between SQL and NoSQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •