A simple way to represent text data where each word is represented by a number without considering the order of the words.
For example, a bag-of-words model could be used to analyze a collection of news articles and count the frequency of certain keywords, such as ‘election’, ‘candidate’, and ‘voter’.