To run this you will need to install:
pip install fuzzywuzzy
pip install python-Levenshtein
sudo apt-get install mongodb && sudo service mongodb start
python -m pip install pymongo==3.4.0
And then run the main file:
To add in training data put in a file with the text called 'learning.txt' then run:
It should skip most non-text lines and split conversation text away from name assignments, eg. "Tim: Hello" will only read "Hello".