Vector Space Model representation for texts

A minimal search engine: tools for encoding (t2v), searching (search) and selecting the best match (lucky) among a collection of texts using the Vector Space model of documents.

Download (right click and save-as):

Convert texts to vector form (C source code)
Return ranked list of matches (C source code)
Return the best match (C source code)