├── .github └── FUNDING.yml ├── LICENSE ├── README.md └── chatbot_code.ipynb /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | 13 | custom: ['https://www.buymeacoffee.com/Vatshayan', 'https://payu.in/pay/EF5CC807B025152D0345FF03AB2352E5'] 14 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Shivam Vatshayan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Live-Chatbot 2 | 3 | Chatbot made in Python using Natural Language Toolkit especially Machine Learning. Easy to Understand and Implement. Chatbot system for Final Year Project 4 | 5 | ![Live CHATBOT-2](https://user-images.githubusercontent.com/28294942/134822533-35c1e851-1dde-44d6-9113-39dff062239f.gif) 6 | 7 | 8 | ### Youtube Explanation : https://youtu.be/tLormT06XS0 9 | 10 | ### Chatbot: 11 | A chatbot is software that simulates human-like conversations with users via text messages on chat. 12 | 13 | A chatbot is an artificial intelligence (AI) software that can simulate a conversation (or a chat) with a user in natural language through messaging applications, websites, mobile apps or through the telephone. 14 | Why are chatbots important? A chatbot is often described as one of the most advanced and promising expressions of interaction between humans and machines. However, from a technological point of view, a chatbot only represents the natural evolution of a Question Answering system leveraging Natural Language Processing (NLP). Formulating responses to questions in natural language is one of the most typical Examples of Natural Language Processing applied in various enterprises’ end-use applications. 15 | 16 | ### SUMMARY: 17 | 18 | We are using Machine Learning techniques and especially Natural Language toolkit 19 | 20 | **PROCESS :** 21 | 1. Import necessary libraries 22 | 2. Downloading and installing NLTK 23 | 3. Converstation of test as in upper case adnd lower case 24 | 4. Removing unneccessarry noise 25 | 5. Keyword similarizartion 26 | 6. Generating Response 27 | 28 | ### LIVE CHATBOT RUNNING 29 | :Click to Play 30 | 31 | https://user-images.githubusercontent.com/28294942/134821805-0d593dac-0b21-4f9f-88df-eccc9539fe42.mov 32 | 33 | 34 | 35 | ### NLP: 36 | 37 | NLP is a way for computers to analyze, understand, and derive meaning from human language in a smart and useful way. By utilizing NLP, developers can organize and structure knowledge to perform tasks such as automatic summarization, translation, named entity recognition, relationship extraction, sentiment analysis, speech recognition, and topic segmentation. 38 | 39 | **IMP**: Project Code made by Pyhton Programming with detailed explanation. 40 | 41 | ----------------------------------------------------------------------------------------------------------------------------- 42 |

Hi there😄

43 | 44 | **You Can use this Beautiful Project for your college Project and get good marks too.** 45 | 46 | Email me Now **vatshayan007@gmail.com** to get this Full Project Code, PPT, Report, Synopsis, Video Presentation and Research paper of this Project. 47 | 48 | ### HOW TO RUN THE PROJECT- 49 | ⚡ Email me at **vatshayan007@gmail.com** to get a detailed Guide report with Code to run the project with source Code. 50 | 51 | ### Need Code, Documents & Explanation video ? 52 | 53 | ## How to Reach me : 54 | 55 | ### Mail : vatshayan007@gmail.com 56 | 57 | ### WhatsApp: **+91 9310631437** (Helping 24*7) **[CHAT](https://wa.me/message/CHWN2AHCPMAZK1)** 58 | 59 | ### Website : https://www.finalproject.in/ 60 | 61 | ### 1000 Computer Science Projects : https://www.computer-science-project.in/ 62 | 63 | Mail/Message me for Projects Help 🙏🏻 64 | 65 | ### Youtube Implementation of project : https://youtu.be/tLormT06XS0 66 | -------------------------------------------------------------------------------- /chatbot_code.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "nbformat": 4, 3 | "nbformat_minor": 0, 4 | "metadata": { 5 | "colab": { 6 | "name": "chatbot_code.ipynb", 7 | "provenance": [] 8 | }, 9 | "kernelspec": { 10 | "name": "python3", 11 | "display_name": "Python 3" 12 | }, 13 | "language_info": { 14 | "name": "python" 15 | } 16 | }, 17 | "cells": [ 18 | { 19 | "cell_type": "markdown", 20 | "metadata": { 21 | "id": "I3_ReQCBpJwq" 22 | }, 23 | "source": [ 24 | "# ChatBot " 25 | ] 26 | }, 27 | { 28 | "cell_type": "markdown", 29 | "metadata": { 30 | "id": "xEOwAx3woO-5" 31 | }, 32 | "source": [ 33 | "A chatbot is an artificial intelligence (AI) software that can simulate a conversation (or a chat) with a user in natural language through messaging applications, websites, mobile apps or through the telephone.\n", 34 | "Why are chatbots important? A chatbot is often described as one of the most advanced and promising expressions of interaction between humans and machines. However, from a technological point of view, a chatbot only represents the natural evolution of a Question Answering system leveraging Natural Language Processing (NLP). Formulating responses to questions in natural language is one of the most typical Examples of Natural Language Processing applied in various enterprises’ end-use applications." 35 | ] 36 | }, 37 | { 38 | "cell_type": "markdown", 39 | "metadata": { 40 | "id": "YoPNsS0toacG" 41 | }, 42 | "source": [ 43 | "### Step1: Import Libraries" 44 | ] 45 | }, 46 | { 47 | "cell_type": "code", 48 | "metadata": { 49 | "id": "z-zQRd-Dl_-B" 50 | }, 51 | "source": [ 52 | "import io\n", 53 | "import random\n", 54 | "import string # to process standard python strings\n", 55 | "import warnings\n", 56 | "import numpy as np\n", 57 | "from sklearn.feature_extraction.text import TfidfVectorizer\n", 58 | "from sklearn.metrics.pairwise import cosine_similarity\n", 59 | "import warnings\n", 60 | "warnings.filterwarnings('ignore')" 61 | ], 62 | "execution_count": 1, 63 | "outputs": [] 64 | }, 65 | { 66 | "cell_type": "markdown", 67 | "metadata": { 68 | "id": "07evoaRsoh3U" 69 | }, 70 | "source": [ 71 | "### Step2: Download and install NLTK" 72 | ] 73 | }, 74 | { 75 | "cell_type": "code", 76 | "metadata": { 77 | "colab": { 78 | "base_uri": "https://localhost:8080/" 79 | }, 80 | "id": "qvOnv6RAogVS", 81 | "outputId": "17be472d-c3d5-4d1f-cea1-177c5620748e" 82 | }, 83 | "source": [ 84 | "pip install nltk" 85 | ], 86 | "execution_count": 2, 87 | "outputs": [ 88 | { 89 | "output_type": "stream", 90 | "name": "stdout", 91 | "text": [ 92 | "Requirement already satisfied: nltk in /usr/local/lib/python3.7/dist-packages (3.2.5)\n", 93 | "Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from nltk) (1.15.0)\n" 94 | ] 95 | } 96 | ] 97 | }, 98 | { 99 | "cell_type": "code", 100 | "metadata": { 101 | "colab": { 102 | "base_uri": "https://localhost:8080/" 103 | }, 104 | "id": "2uwGZjWhoZWv", 105 | "outputId": "6cdb63eb-a704-476b-823c-e805cc6f9f20" 106 | }, 107 | "source": [ 108 | "# Importing libraries for chatbot\n", 109 | "\n", 110 | "\n", 111 | "import nltk\n", 112 | "from nltk.stem import WordNetLemmatizer\n", 113 | "nltk.download('popular', quiet=True) # for downloading packages\n", 114 | "#nltk.download('punkt') # first-time use only\n", 115 | "#nltk.download('wordnet') # first-time use only" 116 | ], 117 | "execution_count": 4, 118 | "outputs": [ 119 | { 120 | "output_type": "execute_result", 121 | "data": { 122 | "text/plain": [ 123 | "True" 124 | ] 125 | }, 126 | "metadata": {}, 127 | "execution_count": 4 128 | } 129 | ] 130 | }, 131 | { 132 | "cell_type": "code", 133 | "metadata": { 134 | "id": "j7Qi5Onlo18F" 135 | }, 136 | "source": [ 137 | "" 138 | ], 139 | "execution_count": null, 140 | "outputs": [] 141 | }, 142 | { 143 | "cell_type": "markdown", 144 | "metadata": { 145 | "id": "aS-zP0_Do5f8" 146 | }, 147 | "source": [ 148 | "I have made this Code Private.\n", 149 | "\n", 150 | "If you want this full project with explanation document.\n", 151 | "\n", 152 | "Then, Mail me Now at **vatshayan007@gmail.com**" 153 | ] 154 | }, 155 | { 156 | "cell_type": "code", 157 | "metadata": { 158 | "id": "PzsSDye3pHZB" 159 | }, 160 | "source": [ 161 | "" 162 | ], 163 | "execution_count": null, 164 | "outputs": [] 165 | } 166 | ] 167 | } --------------------------------------------------------------------------------