Jet.Refres
Class CorefEval

java.lang.Object
  extended byJet.Refres.CorefEval

public class CorefEval
extends java.lang.Object

evaluate reference resolution procedure against a key file with references annotated.


Constructor Summary
CorefEval()
           
 
Method Summary
static void buildEntitiesFromLinkedMentions(Document doc)
           
static void buildEntitiesFromMentions(Document doc)
          buildEntitiesFromMentions takes a Document with annotations of the form
mention entity=entity-ID
where coreferential entities share the same entity-ID, and generates annotations of the form
entity mentions=Vector(mentions)
static void buildMentionsFromEntities(Document doc)
          buildMentionsFromEntities takes a Document with coreference information in the form of mention attributes on entities and generates Annotations of the form
mention entity=entity-ID
over the heads of mentions, where coreferential mentions are linked by having the same entity-ID.
static void main(java.lang.String[] args)
           
static void task(java.lang.String[] args)
          command-line callable coreference evaluation (invoked by jet -CorefEval).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorefEval

public CorefEval()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

task

public static void task(java.lang.String[] args)
command-line callable coreference evaluation (invoked by jet -CorefEval). Passed an array of two file names: the system response collection and the key collection.


buildEntitiesFromMentions

public static void buildEntitiesFromMentions(Document doc)
buildEntitiesFromMentions takes a Document with annotations of the form
mention entity=entity-ID
where coreferential entities share the same entity-ID, and generates annotations of the form
entity mentions=Vector(mentions)


buildEntitiesFromLinkedMentions

public static void buildEntitiesFromLinkedMentions(Document doc)

buildMentionsFromEntities

public static void buildMentionsFromEntities(Document doc)
buildMentionsFromEntities takes a Document with coreference information in the form of mention attributes on entities and generates Annotations of the form
mention entity=entity-ID
over the heads of mentions, where coreferential mentions are linked by having the same entity-ID.