while ((line = reader.readLine()) != null) {
String[] items = line.split("\\s+");
String label = items[5];
String[] context = { "verb=" + items[1], "noun=" + items[2],
"prep=" + items[3], "prep_obj=" + items[4] };
events.add(new Event(label, context));
}
}
finally {
in.close();
}