Python for NLP: Creating Bag of Words Model from Scratch
This is the 13th article in my series of articles on Python for NLP. In the previous article, we saw how to create a simple rule-based chatbot that uses cosine similarity between the TF-IDF vectors of the words in the corpus and the user input, to generate a response. The TF-IDF model was basically used to convert word to numbers. In this article, we will study another very useful model that converts text to numbers i.e. the Bag of Words […]
Read more