SYNOPSIS

DESCRIPTION

This script implements the backend of the web interface for WordNet::Similarity.

This script listens to a port waiting for a request form similarity.cgi or wps.cgi. The client script sends a message to this script as series of queries (see QUERY FORMAT). After all the queries, the client sends a message containing only CRLF (carriage-return line-feed, or \015\012).

The server (this script) responds with the results (see MESSAGE FORMAT) terminated by a message containing only CRLF.

s <word1> <word2><CRLF> - server will return all senses of word1 and
word2
g <word><CRLF> - server will return the gloss for each synset to which
word belongs
r <wps1> <wps2> <measure> <etc...><CRLF> - server will return the
relatedness of wps1 and wps2 using measure.
v <CRLF> - get version information

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to: