org.apache.ctakes.relationextractor.knowtator
Class XMLReader

java.lang.Object
  extended by org.apache.ctakes.relationextractor.knowtator.XMLReader

public class XMLReader
extends java.lang.Object


Constructor Summary
XMLReader()
           
 
Method Summary
static java.util.HashMap<java.lang.String,java.util.ArrayList<Span>> getEntityMentions(org.jdom.Document document)
          Get spans of named entity annotations indexed on knowtator mention id
static java.util.HashMap<java.lang.String,java.lang.String> getEntityTypes(org.jdom.Document document)
          Type of each named entity indexed on mention ids
static java.util.ArrayList<RelationInfo> getRelations(org.jdom.Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLReader

public XMLReader()
Method Detail

getEntityMentions

public static java.util.HashMap<java.lang.String,java.util.ArrayList<Span>> getEntityMentions(org.jdom.Document document)
Get spans of named entity annotations indexed on knowtator mention id


getEntityTypes

public static java.util.HashMap<java.lang.String,java.lang.String> getEntityTypes(org.jdom.Document document)
Type of each named entity indexed on mention ids


getRelations

public static java.util.ArrayList<RelationInfo> getRelations(org.jdom.Document document)