Converts the NLM-WSD data set to the xml-like .mm `Xformat used by the CuiTools package using current UMLS information.
This program takes as input the format of the National Library of Medicine's Word Sense Disambiguation and converts it to our xml-like mm format for processing with the CuiTools word sense disambiguation programs.
perl prolog2mm.pl DESTINATION SOURCE
The directory that the .mm output files should go. The output file names will be named <targetword>.mm
If you are using the NLM-WSD dataset then the required SOURCE is
NLMWSDHOME/Reviewed_Results
Otherwise it is the directory that is formated similar to that of the Reviewed_Results directory. The output directory to the plain2prolog.pl program is an example of this format.
head3 --log DIRECTORY
Directory to contain temporary and log files. DEFAULT: prolog2mm.log
The dataset being used the NLM-WSD dataset
Displays the quick summary of program options.
Displays the version information.
prolog2mm.pl converts the data set to the CuiTools xml-like .mm format.
See README.mm.format
Bridget T. McInnes, University of Minnesota, Twin Cities =head1 COPYRIGHT
Copyright (c) 2007-2008,
Bridget T. McInnes, University of Minnesota, Twin Cities bthomson at cs.umn.edu
Ted Pedersen, University of Minnesota Duluth tpederse at d.umn.edu
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
The Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.