SPARSEUP-v2: queries, documents and their match

What turns a text into. The model reads the tokens and gives a weight to vocabulary terms: tokens of the text, and expansion terms that are not in it. A query and a document are scored by the dot product of their two vectors, so only the terms they share count. Every term is drawn in the colour of the query token it comes from, in the three panels.

Source
Example
View
term that is a token of the text expansion term document term absent from the query vector Hover a token or a term to trace it; click to pin, Esc to release. ← → change the example.