dhanushkamath / DCBHackathonScripts

Python scripts used for the DCB bank hackathon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python APIs

Custom Autocorrect: Scrape a website and use it as dictionary to check for spellings and suggests correction if wrong or returns the same if already correct

Text Tagger: Classify sentences to classes based on intent

These APIs are built using Flask using additional packages such as NLTK, BS4. They use the routes spell_check/ and text_tag/ and accept q as the input string.

Setup

It is suggested that you use virtualenv for local installation of python and preventing version conflicts. Assuming you already have it installed already, run the following commands.

virtualenv env
source env/bin/activate

Install all the required packages using pip

pip install -r requirements.txt

Run the required API

python <script-name>

Currently the APIs are hardcoded to run on localhost:3000. For dev purposed and using multiple APIs this port can be changed as per requirement.

About

Python scripts used for the DCB bank hackathon


Languages

Language:Python 100.0%