GithubHelp home page GithubHelp logo

prey176 / chatbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 561 KB

A closed domain question answering chatbot android application which interprets user input and responds accordingly. The application fetches results from the server which interprets the user input with NLP techniques and returns the result from the RDBMS. TeckStack : Android Studio, MySQL.

License: MIT License

Java 74.12% Python 25.88%

chatbot's Introduction

Chatbot

There are a list of projects and the description of each of the project is provided, the goal of the Chatbot is to provide an easy access of the project details to the user. There is a button functionality where the user chooses the appropriate option which limits the project choices based on various parameters such as project type and functionality which helps eases out the searching process. There is an added functionality of searching the product via question answering, the user writes details of the projects and the chatbot interprets the projects from the text and outputs the most desirable project.

This project has been contributed by the following :-

Preyansh Rastogi, Shivam Shanker, Abhishek Rajgaria and Anuj Verma.

Application Code

The following shows the two screens of the android application.

Chatbot

Images

It contains all the images that were used in the android application.

MainActivity.java

It handled the login functionality of the first page of the application.

SecondActivity.java

It handled the query handling of the user by contacting with the server in the backend on the second page of the application.

XML files

They were used in designing the various components of the application.

Backend Code

server.py

This file contains the code for connection between server and client and it is a local server and we are sending and receiving data through this.

backend.py

In this file we are connecting through the MySQL server on local computer and after connection we are fetching the data from the database and giving the desired result by making assiging the user's query among the given project options by using nltk pos-tags after processing the user's text.

chatbot_tools.sql

It contains all the tools for the specific project

chatbot_keyword_table.sql

It contains the keyword for the different projects

chatbot_description_table.sql

It contains the description of the projects

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.