NAME
keyconvert.pl Convert Senseval-2 answer key to Senseclusters format
SYNOPSIS
Converts the Senseval formatted input key file to SenseClusters' formatted output key file required by the SenseClusters package.
USAGE
keyconvert.pl [OPTIONS] INPUTFILE OUTFILE
Required Arguments:
INPUTFILE
The Senseval key file. The format for Senseval key file is:
TARGET_WORD INSTANCE_ID SENSE_ID+
on each line showing one or more SENSE_IDs for an INSTANCE_ID.
OUTFILE
The file name which would have the resultant SenseClusters' formatted
key file. The SenseClusters' format id:
<instance id=\"I\"\/> <sense id=\"S\"\/>+
on each line where Sense Tags S are attached to an Instance I.
Optional Arguments:
--attach_P
This will attach Sense tag P to the Sense Tag that follow it. Otherwise the P tags are removed.
--help
Displays the quick summary of program options.
--version
Displays the version information.
AUTHOR
Ted Pedersen, University of Minnesota, Duluth.
Amruta Purandare, University of Pittsburgh.
COPYRIGHT
Copyright (c) 2002-2006,
Ted Pedersen, University of Minnesota, Duluth.
tpederse@d.umn.edu
Amruta Purandare, University of Pittsburgh.
amruta@cs.pitt.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.