S2T requires Python version 2.2.3 or higher, version 2.4 is recommended.
To install, first download S2T from timeml.org. Then unzip and untar the archive (use winzip on Windows platforms):
% gunzip -c s2t-1.0.tar.gz | tar xvp
S2T requires a TimeML document with event, slink and alink information, as returned by Slinket. S2T 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, S2T 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. lid
, eventInstanceID
, subordinatedEventInstance
, relType
, and syntax
.
lid
, eventInstanceID
, subordinatedEventInstance
, relType
, and syntax
.
s2t-1.0/Code
.
% python s2t.py <infile> <outfile>
% python s2t.py <indir> <outdir>
Please email us at s2t@timeml.org if you have any problems installing or running S2T. Bug reports and other comments can also be sent to that address.