search/lexical¶
module lexical
Lexical retrieval: a corpus ranked by the words it shares with a query,
a hashed bag of words compared by cosine. Offline, deterministic and
exact; it models no meaning, so a query and a document that share no
word score zero. Imported where it is used: import lexical.
lexical— Lexical retrieval: a corpus ranked by the words it shares with a query, a hashed bag of words compared by cosine.