Skip to content

aparrish/semanticsimilaritychatbot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Semantic Similarity Chatbot

By Allison Parrish

This is a little snippet of sample code that I wrote for implementing a chatbot based on semantic similarity.

Installation

You can just cut and paste the code, if you want!

Or you can install via pip:

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 large model:

python -m spacy download en_core_web_lg

Usage

TK

License

See LICENSE in this repository.

About

A tiny unfussy corpus-driven chatbot based on semantic similarity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages