Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.2 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.2 KB

FlaskTextBlob

Simple sentiment analysis web app using flask and TextBlob.

What is TextBlob:

TextBlob is a Python (2 and 3) library for processing textual data. It provides a simple API for diving into common natural language processing (NLP) tasks such as part-of-speech tagging, noun phrase extraction, sentiment analysis, classification, translation, and more. img

Flask app to perform sentiment analysis using TextBlob:

The source code for the tutorial is available in GitHub. Live preview for the web app is available in heroku

Let’s create 2 empty files:

Flask naming conventions recommends placing templates, HTML files inside templates folder. So your directory should look like this:

img2

Run:

python app.py

FlaskApp

img3