Skip to main content

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:

  1. Create a virtual environment in a test folder.
py -m venv ./myvenv
  1. Activate the virtual environment.
.\myvenv\Scripts\activate
  1. Install the bot inside the virtual environment as a package for simpler usage (the package is not functional yet).
pip install nagonbot
  1. Run the program inside the virtual enviroment.
from nagonbot.bot import Main

Main()
  1. 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.

Metadata

Release files for nagonbot 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nagonbot 1.0.0
File Size Uploaded
nagonbot-1.0.0.tar.gz 224.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nagonbot 1.0.0
File Interpreter ABI Platform
nagonbot-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 452.8 kB

Release files / nagonbot-1.0.0.tar.gz

Download URL nagonbot-1.0.0.tar.gz
Size 224.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aca62d9049cccc8ece9853690134ab9cfb6bc7e9fe76d892f96ea5e5e7d637af
BLAKE2b-256 checksum
How to use checksums
8eaf2c94f86c29859439dc96481953c4040c001047e223c82e36b60db035c870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / nagonbot-1.0.0-py3-none-any.whl

Download URL nagonbot-1.0.0-py3-none-any.whl
Size 228.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f135a3148029049b46f50533edf208f7921617e793eabb01737a3d740a1ca768
BLAKE2b-256 checksum
How to use checksums
7c2c6f0738bb90193228e42618cf9ddf9140f65fe97686fc97447a2793d63a96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page