Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.62 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.62 KB

Chatbot

Here are some sample code I am learning to chat with, and I have tested each chat bot.

RUN Simple chat robot based on python NLTK library.ipynb

Main method

This chat robot mainly uses NLTK library to calculate the TF-IDF values of user input sentence and sentences in the corpus chatbot.txt, and then chooses the sentences in the corpus that are closest to the cosine angle of user input statements as the answers (if they exist).

Chat robot effect display

Simple chat robot based on python NLTK library effect display

RUN snips-nlu-tutorial for Slot Filling and Intent Prediction.ipynb

Main method

Snips NLU Processing Pipeline Pattern Matching + Logistic Regression + CRFs