http://www.perlmonks.org?node_id=1008892


in reply to Clustering documents using vectors.

I've used code and ideas from Building a Vector Space Search Engine in Perl to great effect.