July 2017
Beginner to intermediate
486 pages
13h 49m
English
This BOW model makes our life easier because it simplifies the representation used in NLP. In this model, the data is in the form of text and is represented as the bag or multiset of its words, disregarding grammar and word order and just keeping words. Here, text is either a sentence or document. Let's an example to give you a better understanding of BOW.
Let's take the following sample set of documents:
Text document 1: John likes to watch cricket. Chris likes cricket too.
Text document 2: John also likes to watch movies.
Based on these two text documents, you can generate the following list:
List of words= ["John", "likes", "to", "watch", "cricket", "Chris", "too", "also", "movies"]
This list is called BOW. Here, we ...
Read now
Unlock full access