Perhaps the most common fixedlength vector representation for texts is the bag-ofwords or bag-of-n-grams (Harris, 1970).
they suffer severely from data sparsity and high dimensionality, and have very little sense about the semantics of words or the distances between the words.