Skip to content

This is a self-learning chatbot coded in python. The chatbot would answer questions from the article URL. The algorithm would parse the article and answer the questions.

Notifications You must be signed in to change notification settings

cherry247/chatbot-using-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

chatbot-using-python

Chatbot 1.0 is a self learning chatbot coded in python. This application allows you to find the near answer to the question asked. Chatbot1.0 will first parse through the document and after studying it. We can ask questions related to the article. It will then search for the near possible answer to the question. https://www.youtube.com/watch?v=vGrd

1.We first install the dependencies and import the essential libraries.

2.After this, we would write a function which could fetch text from the article URL.

3.Once this is done, we will convert this article text into corpus.

4.We then tokenize the words, remove punctuations, and convert into lowercase.

5.After this we will build a function or a method which will convert text to vectors and apply cousin similarity on the user query and the corpus vetor.

6.Using cosine similarity we will find the most similar text to the question.We can now start chatting with our chatbot using greeting words and stop the chatbot by saying “bye”

About

This is a self-learning chatbot coded in python. The chatbot would answer questions from the article URL. The algorithm would parse the article and answer the questions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published