The chatbot of Alicorn based on NLP.js. Currently only supports Simplified Chinese.
Boticorn provides only limited reactions. It's only a hobby project and isn't (probably never will) be production-ready. Use at your own risk!
You'll need:
-
Node.js, the later the better
-
XZ Utils, for and only for output compression
-
Git
-
Clone this repo:
git clone https://github.com/Andy-K-Sparklight/Boticorn.git --depth 1
-
Install dependencies:
yarn install
-
Train the model:
yarn tr
The output model will be ready at <root>/model.nlp
After you've trained a model, you can try to talk with it by running:
yarn try
This will start the conversation in the same console window.
All code of this repository is licensed under the GNU Affero General Public License, Version 3.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Part of the documents of Boticorn are built from subtitles and most of them come from the Chinese translation of My Little Pony: Friendship Is Magic.
The translations have their own copyrights and, since they come from a great number of websites, it's impossible for us to find the name(s) of the author(s).
Because of this, we highly recommand users use this bot non-commercially. Also, we have nothing related to any individuals, organizations and/or companies about the subtitles mentioned above.
If you are one of the authors and don't want us to use your work(s) in this way, please let us know by creating a new issue. We'll remove those parts if you want us to.