{"id":21174548,"url":"https://github.com/bniladridas/chatbot","last_synced_at":"2025-03-14T18:19:30.296Z","repository":{"id":243746886,"uuid":"813248826","full_name":"bniladridas/chatbot","owner":"bniladridas","description":"The chatbot is designed to engage in conversations with users based on predefined patterns and responses.","archived":false,"fork":false,"pushed_at":"2024-09-09T09:24:44.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-20T16:55:38.425Z","etag":null,"topics":["algorithms","data-structures","nlp","programming"],"latest_commit_sha":null,"homepage":"","language":"Python","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/bniladridas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-10T18:58:30.000Z","updated_at":"2024-09-09T09:25:16.000Z","dependencies_parsed_at":"2024-10-20T05:51:03.307Z","dependency_job_id":null,"html_url":"https://github.com/bniladridas/chatbot","commit_stats":null,"previous_names":["niladrridas/chatbot","bniladridas/chatbot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fchatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fchatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fchatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bniladridas%2Fchatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bniladridas","download_url":"https://codeload.github.com/bniladridas/chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234938728,"owners_count":18910322,"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":["algorithms","data-structures","nlp","programming"],"created_at":"2024-11-20T16:55:03.579Z","updated_at":"2025-01-21T11:21:04.439Z","avatar_url":"https://github.com/bniladridas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Ultra-Premium README for Chatbot Using NLTK\n\nWelcome to **Chatbot using NLTK**, a high-quality chatbot crafted with Python and the NLTK library. This bot interacts with users through intelligent conversation, leveraging predefined patterns and responses. By combining the power of regular expressions for pattern matching and NLTK's natural language processing, this project showcases one of the most fundamental yet effective approaches in chatbot development.\n\n\u003cdiv style=\"display: inline\"\u003e\n    \u003cimg src=\"https://img.icons8.com/color/48/000000/python.png\" alt=\"Python\" width=\"32\" height=\"32\"/\u003e\n    \u003cimg src=\"https://miro.medium.com/v2/resize:fit:1184/format:webp/1*YM2HXc7f4v02pZBEO8h-qw.png\" alt=\"NLTK\" width=\"32\" height=\"32\"/\u003e\n    \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/3/38/Jupyter_logo.svg\" alt=\"Jupyter Notebook\" width=\"32\" height=\"32\"/\u003e\n    \u003cimg src=\"https://www.opc-router.com/wp-content/uploads/2023/12/icon_json-datei_format_1200-1-800x320.png\" alt=\"JSON File\" width=\"50\" height=\"32\"/\u003e\n    \u003cimg src=\"https://img.icons8.com/color/48/000000/git.png\" alt=\"Git\" width=\"32\" height=\"32\"/\u003e\n    \u003cimg src=\"https://img.icons8.com/color/48/000000/linux.png\" alt=\"Linux\" width=\"32\" height=\"32\"/\u003e\n    \u003cimg src=\"https://img.icons8.com/color/48/000000/console.png\" alt=\"Bash\" width=\"32\" height=\"32\"/\u003e\n\u003c/div\u003e\n\n## 🛠️ Installation \u0026 Setup\n\n**Pre-requisites:**\n- Ensure Python is installed on your machine. If not, [download it here](https://www.python.org/downloads/).\n\n**Install the necessary dependencies:**\n```\npip install nltk\n```\n\n**Clone the repository:**\n```bash\ngit clone https://github.com/niladrridas/chatbot\ncd chatbot\n```\n\n## 💻 Running the Chatbot\n\nTo interact with the chatbot, follow these simple steps:\n\n1. **Jupyter Notebook:**\n    ```bash\n    jupyter notebook test1.ipynb\n    ```\n\n2. **Python Script:**\n    ```bash\n    python test1.py\n    ```\n\n**Chatbot Interaction:**\nYou can converse with the chatbot via terminal or within your Jupyter notebook, and even debug it in IDEs such as [PyCharm](https://www.jetbrains.com/pycharm/), [VS Code](https://code.visualstudio.com/), or [other IDEs](https://aws.amazon.com/what-is/ide/).\n\n## 🚀 Advantages\n\n1. **Ease of Setup**: The project provides clear instructions for installation and setup, making it easy for users to get started.\n\n2. **Versatile Interaction**: Users can interact with the chatbot through a Jupyter Notebook or a Python script, offering flexibility in usage.\n\n3. **Customizability**: The chatbot supports dynamic addition of new patterns and responses, allowing users to extend and customize its capabilities.\n\n4. **Educational Value**: The project leverages NLTK, a powerful library for natural language processing, making it a valuable learning resource for those interested in NLP.\n\n5. **Cross-Platform Compatibility**: The project can be run on various platforms, including Linux, and is compatible with multiple IDEs like PyCharm and VS Code.\n\n6. **Rich Documentation**: The README includes detailed documentation, including a communication flow diagram and references to academic resources, enhancing the project's educational value.\n\n7. **Open Source**: The project is open-source and available under the MIT License, encouraging community contributions and collaboration.\n\n8. **Feature-Rich**: The chatbot includes several built-in features such as greeting users, self-identification, emotional recognition, and handling common queries.\n\n## ✨ Features\n\n- Greets users: \"hello\", \"hi\", \"hey\".\n- Self-identifies when asked its name.\n- Recognizes and reacts to emotional inputs like happiness or excitement.\n- Handles common queries like age, weather, games, and world leaders.\n- Supports dynamic addition of new patterns and responses.\n- Extensible and customizable!\n\n## 🛠️ Extend the Chatbot\n\nEnhance the chatbot’s capabilities by adding your own custom patterns and responses. The `add_pattern()` function makes this process seamless:\n\n```python\nadd_pattern(r\"(.*)\", [\"Your custom response here\"])\n```\n\n## 🔄 Communication Flow Diagram\n\nThe following flow diagram illustrates a typical conversation with the chatbot:\n\n```\nsequenceDiagram\n    participant User\n    participant Chatbot\n\n    User -\u003e\u003e Chatbot: \"Hello\"\n    Chatbot -\u003e\u003e User: \"Hello!\"\n    User -\u003e\u003e Chatbot: \"What's your name?\"\n    Chatbot -\u003e\u003e User: \"I'm Part-time Bot!\"\n    User -\u003e\u003e Chatbot: \"I'm feeling happy!\"\n    Chatbot -\u003e\u003e User: \"That's wonderful!\"\n    User -\u003e\u003e Chatbot: \"quit\"\n    Chatbot -\u003e\u003e User: \"Goodbye! It was nice chatting with you.\"\n```\n\n## 🧠 Academic Resources\n\n### Leading Journals:\n\n1. [ACM Transactions on Interactive Intelligent Systems (TiiS)](https://dl.acm.org/journal/tiis)\n2. [Journal of Artificial Intelligence Research (JAIR)](https://www.jair.org/index.php/jair)\n3. [IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI)](https://www.computer.org/csdl/journal/tp)\n4. [Natural Language Engineering (NLE)](https://www.cambridge.org/core/journals/natural-language-engineering)\n5. [Journal of Machine Learning Research (JMLR)](https://www.jmlr.org/)\n6. [Computational Linguistics (CL)](https://www.mitpressjournals.org/loi/coli)\n7. [ACM Transactions on Speech and Language Processing (TSLP)](https://dl.acm.org/journal/tslp)\n8. [Information Retrieval Journal](https://www.springer.com/journal/10791)\n9. [Expert Systems with Applications](https://www.journals.elsevier.com/expert-systems-with-applications)\n\n### Top Conferences:\n\n1. [EMNLP](https://www.aclweb.org/anthology/events/emnlp-2021/) – Empirical Methods in Natural Language Processing\n2. [ACL](https://www.aclweb.org/anthology/2021.acl-main/) – Annual Meeting of the Association for Computational Linguistics\n3. [COLING](https://coling2022.org/) – International Conference on Computational Linguistics\n4. [IUI](https://iui.acm.org/) – Intelligent User Interfaces\n5. [CHI](https://chi2022.acm.org/) – Human Factors in Computing Systems\n6. [WSDM](https://www.wsdm-conference.org/) – Web Search and Data Mining\n7. [LREC](https://lrec2022.lrec-conf.org/) – Language Resources and Evaluation\n8. [CUI](https://cui.acm.org/) – Conversational User Interfaces\n9. [IJCAI](https://ijcai.org/) – International Joint Conference on Artificial Intelligence\n10. [CIKM](https://www.cikm2022.org/) – Information and Knowledge Management\n\n## 📜 License\n\nThis project is open-source and available under the [MIT License](/LICENSE).\n\n---\n\nFeel free to explore, extend, and contribute! Let's bring conversations to life through the power of Python and NLTK. 🌟","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbniladridas%2Fchatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbniladridas%2Fchatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbniladridas%2Fchatbot/lists"}