And the second, based on clustering of word embeddings into a predefined number of groups and using centroids as elements of final document vectors.
the embeddings are sentence aware and could solve a problem of polysemous words (words with multiple meanings).