Fig.1

Concept

Bag-of-words

Bag-of-words represents a piece of text as an unordered collection of its tokens, tracking which words appear (and how often) while discarding their order. Think of it like a word-frequency histogram: the sentences "dog bites man" and "man bites dog" produce identical…

The rest of “Bag-of-words” is a premium feature: every concept in the library gets a precise, practitioner-focused write-up like this one, cross-linked straight from the paper summaries that use it.

Log in to unlock

← Back to the library

Bag-of-words, explained · Fig. 1