Bag-of-words: BOW is a simple vector representation of an entire document where each dimension is representative of a unique word in the corpus.
the input dimensionality is equivalent to the number of terms which are maintained when building the BOW representation.