ADS71-C / SMUG

SMUG is a message analysis system. Using big data it can determine the probability of a person being sick
http://smug.readthedocs.io/en/latest/
0 stars 0 forks source link

Social Media User Grouper (SMUG)

SMUG is a profiler which allows you to group social media users using big data. SMUG provides extra insight into tweets by running various kinds of analytics on it.

For example it can give a propibility about if a giving tweet is about someone being sick. This is accomplished by analysing the words in the tweet using deep learning.

Dependencies

In order to use the project the following dependencies have to be satisfied

Installation

  1. run pip install -r requirements.txt
  2. Afterwards run python -m textblob.download_corpora to enable the NLP functionality. These include some third-party licenses.

Usage instructions

This project uses docker-compose thus to run the project you need to issue the command docker-compose up. This will pull all the required images and runs all the containers. There are several things needed to run the project correctly:

Optional:

Technical information

Local development

While developing you can opt to run the python files locally on your system. This can be done by running the individual python files. A run.py is also which allows you to start multiple workers at once. run.py start all the workers necessary for basic processing. Now all you need is data. This can be done by running importers/coosto_importer.py which will prompt you for a csv file. This csv file is then put into SMUG. This csv file should be located somewhere in the resources folder

Command ordering

In order to ensure the docker environment contains the correct settings and queues it is important that the initializer.py file is ran every time the docker environment is restarted. After running the initializer the order of execution is not important. When using run.py this is done automatically for you.