This script works in conjunction with similarity_server.pl and wps.cgi to provide a web interface for WordNet::Similarity.
The documentation for similarity_server.pl describes how messages are passed between this script and that one.