#AIGlossary
bag of words
#GoogleCloud
A representation of the words in a phrase or passage, irrespective of order. For example, bag of words represents the following three phrases identically:
the dog jumps
jumps the dog
dog jumps the
Each word is mapped to an index in a sparse vector, where the vector has an index for every word in the vocabulary.
https://developers.google.com/machine-learning/glossary#bag-of-words
