|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJet.Refres.CorefCompare
static methods to compare entity annotations (coreference) in
two documents or collections.
These methods add 'status' attribute to entities in the
response Document(s) which can then be used by entityView.
Constructor Summary | |
CorefCompare()
|
Method Summary | |
static void |
compareCollections(DocumentCollection response,
DocumentCollection key)
compare the entity annotations (coreference) in all documents in Document Collections 'response' and 'key', updating the documents in DocumentCollection 'response'. |
static void |
compareDocuments(Document response,
Document key)
compare the entity annotations (coreference) in Documents 'response' and 'key', updating Document 'response'. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CorefCompare()
Method Detail |
public static void compareDocuments(Document response, Document key)
Two mentions are considered the same if their spans (or the spans of their heads, if they have headC attributes) are the same. Two entities are considered the same if they have the same set of mentions ("mentions" attribute).
There are three cases:
public static void compareCollections(DocumentCollection response, DocumentCollection key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |