Semantic Similarity Chatbot
This is a little snippet of sample code that I wrote for implementing a chatbot based on semantic similarity.
You can just cut and paste the code, if you want!
Or you can install via
pip install https://github.com/aparrish/semanticsimilaritychatbot/archive/master.zip
Other Python modules you'll need to have installed:
Note that you'll need to download a spaCy model
with word vectors for this chatbot to feel like it's doing anything useful. The
default model for English does not include word vectors, so you'll need to
download a model that does. For English, I recommend the
python -m spacy download en_core_web_lg
LICENSE in this repository.