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”