Skip to content

Detect fake news. Performs sentiment analysis on text.

Notifications You must be signed in to change notification settings

lucaspal/sentimentext-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentimentext backend

Backend for the sentimentext Chrome extension. It is a simple Flask app, written in Python.

Usage

Requirements

Python3 (developed and tested on python 3.7)

Setup

Get the dependencies. The following command should be run in the root directory of the project.

pip3 install -r ./requirements.txt

Starting the application

In order to run the application set the environment variable below.

Windows
set FLASK_APP=run.py

Unix
export FLASK_APP=run.py

Then run the command below to start the application.

flask run

Deployment

The Flask app is configured to be deployed with heroku. It is specifying its configuration with gunicorn in the Procfile file, in the root folder.

About

Detect fake news. Performs sentiment analysis on text.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages