public class TrainEventTagger extends Object
| Constructor and Description |
|---|
TrainEventTagger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
train an ACE event tagger from a set of documents with APF files.
|
static void |
train(EventTagger et,
String fileList,
int pass)
trains an event tagger from a set of text and APF files.
|
public static void main(String[] args) throws IOException
IOExceptionpublic static void train(EventTagger et, String fileList, int pass) throws IOException
fileList - a list of text file names, one per line.
The APF file names are obtained by replacing
'sgm' by 'apf.xml'.IOExceptionCopyright © 2016 New York University. All rights reserved.