Wiktionary
bag of words
n. (context computer science English) The collection of words from an unprocessed text without regard to grammar.