{"id":21478052,"url":"https://github.com/hegdepavankumar/chatbot-using-python-nltk","last_synced_at":"2026-04-01T22:08:45.284Z","repository":{"id":142849428,"uuid":"614205052","full_name":"hegdepavankumar/chatbot-using-python-NLTK","owner":"hegdepavankumar","description":"Chatbot Developed with the help of NLP and Python","archived":false,"fork":false,"pushed_at":"2023-11-10T04:22:13.000Z","size":246,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T04:44:45.705Z","etag":null,"topics":["anaconda","chatbot","jupyter-notebook","machine-learning","nlp","numpy","pandas","project","python3","sklearn","text","text-classification","textrecognition"],"latest_commit_sha":null,"homepage":"https://imhegde.github.io/chatbot-using-python-NLTK/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hegdepavankumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-03-15T05:30:56.000Z","updated_at":"2023-11-09T13:42:54.000Z","dependencies_parsed_at":"2023-11-10T14:56:56.782Z","dependency_job_id":"a84eda3f-aac4-4c41-9ea2-16655f95b979","html_url":"https://github.com/hegdepavankumar/chatbot-using-python-NLTK","commit_stats":null,"previous_names":["imhegde/chatbot-using-python-nltk","hegdepavankumar/chatbot-using-python-nltk"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hegdepavankumar%2Fchatbot-using-python-NLTK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hegdepavankumar%2Fchatbot-using-python-NLTK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hegdepavankumar%2Fchatbot-using-python-NLTK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hegdepavankumar%2Fchatbot-using-python-NLTK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hegdepavankumar","download_url":"https://codeload.github.com/hegdepavankumar/chatbot-using-python-NLTK/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033206,"owners_count":17563126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anaconda","chatbot","jupyter-notebook","machine-learning","nlp","numpy","pandas","project","python3","sklearn","text","text-classification","textrecognition"],"created_at":"2024-11-23T11:16:24.383Z","updated_at":"2026-03-27T06:13:58.203Z","avatar_url":"https://github.com/hegdepavankumar.png","language":"Jupyter Notebook","readme":"# Building a Simple Chatbot from Scratch in Python (using NLTK)\n\n![GitHub](https://img.shields.io/github/license/hegdepavankumar/chatbot-using-python-NLTK?style=flat)\n![GitHub top language](https://img.shields.io/github/languages/top/hegdepavankumar/chatbot-using-python-NLTK?style=flat)\n![GitHub last commit](https://img.shields.io/github/last-commit/hegdepavankumar/chatbot-using-python-NLTK?style=flat)\n![ViewCount](https://views.whatilearened.today/views/github/hegdepavankumar/chatbot-using-python-NLTK.svg?cache=remove)\n\n\n\n![Alt text](https://cdn-images-1.medium.com/max/800/1*pPcVfZ7i-gLMabUol3zezA.gif)\n\nHistory of chatbots dates back to 1966 when a computer program called ELIZA was invented by Weizenbaum. It imitated the language of a psychotherapist from only 200 lines of code. You can still converse with it here: [Eliza](http://psych.fullerton.edu/mbirnbaum/psych101/Eliza.htm?utm_source=ubisend.com\u0026utm_medium=blog-link\u0026utm_campaign=ubisend). \n\nOn similar lines let's create a very basic chatbot utilizing Python's NLTK library. It's a very simple bot with hardly any cognitive skills, but still a good way to get into NLP and get to know about chatbots.\n\n\n# Outline\n* [Motivation](#motivation)\n* [Blogpost](#blogpost)\n* [Pre-requisites](#pre-requisites)\n* [How to run](#how-to-run)\n\n## Motivation\nThe idea of this project was not to create some SOTA chatbot with exceptional cognitive skills but just to utilize and test my Python skills. This was one of my very first projects, created  when I just stepped into the world of NLP and I thought of creating a simple chatbot just to make use of my newly acquired knowledge.\n\n## BlogPost\n\n\n## Pre-requisites(Kindely Follow 👇 Instructions)\n**NLTK(Natural Language Toolkit)**\n\n[Natural Language Processing with Python](http://www.nltk.org/book/) provides a practical introduction to programming for language processing.\n\nFor platform-specific instructions, read [here](https://www.nltk.org/install.html)\n\n### Installation of NLTK\n```\npip install nltk\n```\n### Installing required packages\nAfter NLTK has been downloaded, install the required packages\n```\nimport nltk\nfrom nltk.stem import WordNetLemmatizer\nnltk.download('popular', quiet=True) # for downloading popular packages\nnltk.download('punkt') \nnltk.download('wordnet') \n```\n\n## How to run\n* Jupyter Notebook [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/parulnith/Building-a-Simple-Chatbot-in-Python-using-NLTK/master)\n\nYou can run the [chatbot.ipynb](https://github.com/parulnith/Building-a-Simple-Chatbot-in-Python-using-NLTK/blob/master/Chatbot.ipynb) which also includes step-by-step instructions.\n* Through Terminal\n\n## Note \nIf you wanna change something or improve feel free to change and Pull the Request (Only Required Changes are accepted).\n\n\u003cbr\u003e\n\n## Contributing\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.\n\n1. Fork the Project\n2. Create your Feature Branch (git checkout -b feature/AmazingFeature)\n3. Commit your changes (git commit -m 'Add some AmazingFeature')\n4. Push to the Branch (git push origin feature/AmazingFeature)\n5. Open a Pull Request\n6. [Community Rules](https://github.com/hegdepavankumar/chatbot-using-python-NLTK/blob/master/Community_Rules.md)\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\u003cbr\u003e\n\n## Creator [🔝](#Building-a-Simple-Chatbot-in-Python-using-NLTK)\n\n(https://github.com/hegdepavankumar). This Project is Created by:-\n\n| [\u003cimg src=\"https://github.com/hegdepavankumar.png?size=115\" width=\"115\"\u003e\u003cbr\u003e\u003csub\u003e@hegdepavankumar\u003c/sub\u003e](https://github.com/hegdepavankumar) |\n\n```\n           Hey Everyone Please give me a star .. and Follow me for more amazing project ideas and Updates⭐ and don't forget to fork the repo...\n  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thank you~~~🙏😍~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhegdepavankumar%2Fchatbot-using-python-nltk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhegdepavankumar%2Fchatbot-using-python-nltk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhegdepavankumar%2Fchatbot-using-python-nltk/lists"}