Japanese Chatbot
Project description
nagonbot
Japanese Chatbot.
Summary
Project Description
nagonbot is a simple chatbot that "speaks" japanese. The name is a reference to a Heian period japanese writer.
Project Current Status
✅The bot is fully functional, but I'll still make some improvements to make it even better.
Setup
I recommend using a vitual environment (venv) for this project, since it's libraries are not fully optimized. Steps:
- Create a virtual environment in a test folder.
py -m venv ./myvenv
- Activate the virtual environment.
.\myvenv\Scripts\activate
- Install the bot inside the virtual environment as a package for simpler usage (the package is not functional yet).
pip install nagonbot
- Run the program inside the virtual enviroment.
from nagonbot.bot import Main
Main()
- Exit the virtual environment when done.
deactivate
Required Libraries
Note Please, while the package does not install all the packages automatticallly, install the following libraries (inside a virtual environment).
Keras
Install:
pip install keras
github page: https://github.com/keras-team/keras
Numpy
Install:
pip install numpy
github page: https://github.com/numpy/numpy
playsound (probably will be out)
Install (version 1.2.2 certainly works with nagonbot):
pip install playsound=1.2.2
github page: https://github.com/TaylorSMarks/playsound
fugashi
Install:
pip install fugashi
github page: https://github.com/polm/fugashi
bs4
pip install bs4
Doc: https://www.crummy.com/software/BeautifulSoup/bs4/doc/
gtts
pip install gTTS
github page: https://github.com/pndurette/gTTS
unidic-lite
pip install unidic-lite
github page: https://github.com/polm/unidic-lite
mecab-python3
pip install mecab-python3
github page: https://github.com/SamuraiT/mecab-python3
selenium
pip install selenium
github page: https://github.com/SeleniumHQ/selenium
webdriver_manager
pip install webdriver_manager
github page: https://github.com/SergeyPirogov/webdriver_manager
Project Test Package
Warning Not working yet!!!
Since it's the package is not working, it's tentatives are being uploaded in the test server of PyPi. It has a lot of versions, but none of them work properly: https://test.pypi.org/project/nagonbot/
References
Tensor Flow model was inspired from Neural Nine's video on how to make a chatbot.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nagonbot-1.0.0.tar.gz.
File metadata
- Download URL: nagonbot-1.0.0.tar.gz
- Upload date:
- Size: 224.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aca62d9049cccc8ece9853690134ab9cfb6bc7e9fe76d892f96ea5e5e7d637af
|
|
| MD5 |
19af1a96f814feb70a13970a795403b0
|
|
| BLAKE2b-256 |
8eaf2c94f86c29859439dc96481953c4040c001047e223c82e36b60db035c870
|
File details
Details for the file nagonbot-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nagonbot-1.0.0-py3-none-any.whl
- Upload date:
- Size: 228.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f135a3148029049b46f50533edf208f7921617e793eabb01737a3d740a1ca768
|
|
| MD5 |
94bdf8815e16b924927d152dbfae0ef3
|
|
| BLAKE2b-256 |
7c2c6f0738bb90193228e42618cf9ddf9140f65fe97686fc97447a2793d63a96
|