Trying to show the very bottom lines of machine learning. Where in each knowledge-based system, a given agent starts with basic grammar rules and empty databases. It will simultaneously conversate and gain knowledge by what is told to him.
You can install MyBot with:
$ git clone https://github.com/FilippoL/mybot.git
In order to run the python files ou will need the following modules to be imported as well as your own telegram token
$ pip install python-telegram-bot --upgrade $ pip install nltk $ pip install uuid4 $ python
And then in the python shell you should run:
import nltk nltk.download() #from the interface install nltk_data package
To start the conversation:
To interrupt at during answer or question:
Doesn't always handle more than answer per question, although it will still store it in the database.
A really big thanks to the creators of the "python-telegram-bot" library, which can be found here
You may copy, distribute and modify the software provided that modifications are described and licensed for free under LGPL-3 . Derivatives works (including modifications or anything statically linked to the library) can only be redistributed under LGPL-3, but applications that use the library don't have to be.