Giter Site home page Giter Site logo

anwang427 / nlpchatbot Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 20.73 MB

Python, NLTK, SciKit, Flask, Twilio || SMS and NLTK based chatbot for rural farmers in India and China. It serves to combat a lack of information that renders farmers unable to keep up with current market trends.

Python 100.00%

nlpchatbot's Introduction

NLPchatbot

Chatbot for rural farmers.

Contains 2 portions:

  1. The Chatbot (The main technical component of the project)
  2. The innovative usage of data to support the project (uses data to inform decisions)

NLP Install

First Attempt

Installed using Python 2.7.

  1. Run pip install nltk
  2. Run python, then import nltk
  3. Run nltk.download(), and download 'All packages'

Second Attempt

  1. pip3 install flask -- > navigate to code directory, and run export FLASK_APP=chatbotSMS.py then flask run
  2. pip3 install ngrok (download first: https://ngrok.com/download). Drag the executable into a directory you wish to use.
  3. pip3 install -U scikit-learn
  4. pip3 install twilio

Ensure that these are installed with Py3 (pip3 install). If there are issues with certificate_verify_failed, navigate to Applications/Python 3.7/Install Certificates.command, and double click.

Currently Used Resources

  1. https://www.faidelhi.org/general/Latest%20News.pdf
  2. http://agmarknet.gov.in/CommodityWiseGraph/ComGraphBoard.aspxfbclid=IwAR0cQCsEwEpb4eDPbVgackBG0IVULzKKPpmnXxai2842K1t6S4dP44fw3x4

nlpchatbot's People

Contributors

anwang427 avatar thehong avatar

Stargazers

Nina Lei avatar Raksha Kannusami avatar Varun j avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

justinfoxs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.