Slinket 1.1 requires at least Python version 2.2.3 or higher, version 2.4 is recommended. Python is available at http://python.org/. Slinket 1.1 has been succesfully tested on Linux with Python 2.2.3, Linux with Python 2.4.2, Windows 2000 with Python 2.4.1, Windows XP with Python 2.4.2, and Mac OS 10.4.2 with Python 2.3.5.
To install, first download Slinket from timeml.org. Then unzip and untar the archive (use winzip on Windows platforms):
% gunzip -c slinket_1.1.tar.gz | tar xvp
This creates a directory named slinket_1.1
in the
current directory. Next change the current directory to slinket_1.1
.
Input is a TimeML file with chunk and TimeML event information, as
returned by Evita.
It expects the following tags and attributes:
Slinket assumes that noun chunks are tagged with <NG> and verb chunks with <VG> (or any tag containing VG, such as <VG_INF>). The <EVENT> tag must be embedded in the chunk tag, and embedding the <lex> tag. In addition, Slinket expects the following tags and attributes:
eid
and class
. For
each event tag, there will be at least one <MAKEINSTANCE>
tag, with attributes eiid
, eventID
, tense
,
aspect
, and pos
, and optionaly also polarity
, modality
, cardinality
,
and signalID
.
<EVENT> tags must be embedding the <lex> tag for the
expression annotated as an event. Slinket will not produce any sensible output without the <s>, <NG>, <VG>, <EVENT> and <lex> tags. Absence of <MAKEINSTANCE> will affect performance. Example input is given in the ExampleInput directory of the distribution.
To run Slinket on one file:
% python Code/slinket.py <infile> <outfile>
To run Slinket on all files in a directory:
% python Code/slinket.py <indir> <outdir>
Please email us at slinket@timeml.org if you have any problems installing or running Slinket. Bug reports and other comments can also be sent to that address.
Saurí, Roser, Marc Verhagen and James Pustejovsky (2006) Slinket: A Partial Modal Parser for Events. Proceedings of LREC 2006, Genova, Italy. May 23-26, 2006.
Bugs fixes will be released reqularly as minor versions with version number 1.x. Version 2.0 of Slinket is scheduled to arrive in December 2006 as part of the TARSQI Toolkit.
Slinket 1.1, July 2006
Slinket 1.0, June 2006
Slinket 0.01, June 2005