Say, I have a bunch of texts, or books, or documents. Each document has some kind of a portrait, where a portrait is an array of pairs (word-weight).
For example, a book