Program qd2wn.pl
================

20th March, 2002.

Copyright (C) 2002      
Satanjeev Banerjee, bane0025@d.umn.edu               
Ted Pedersen, tpederse@d.umn.edu               

University of Minnesota, Duluth 

http://www.d.umn.edu/~bane0025/code.html
http://www.d.umn.edu/~tpederse/code.html

WordNet uses "sense-keys" or "mnemonics" to uniquely identify every
sense of every word. (Note that byte-offset numbers only uniquely
identify synsets, but is the same for all the synonyms inside the
synset). QueryData uses word#pos#sense strings to uniquely identify
every sense of every word in WordNet. 

Currently there is no direct way to take a word#pos#sense string and
create its sense-key without wading through several of the WordNet
files. This program creates a mapping between the word#pos#sense
strings and the sense-keys.

Run this program with the directory in which the following files live:

    index.sense
    index.noun
    index.verb
    index.adj
    index.adv

(or with no arguments if these files reside in the current
directory). The output is every possible word#pos#sense string, along
with its corresponding sense-key. The output is sent to STDOUT and may
be piped to a file.

I have checked the output of this program and it seems to be ok. If
you find any bugs, missed words, garbled mnemonics, please email us!


--------

This suite of programs 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 the Free Software Foundation, Inc., 59  
Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Note: The text of the GNU General Public License is provided in the file
GPL.txt that you should have received with this distribution.
