org.apache.ctakes.relationextractor.knowtator
Class XMLReader

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

public class XMLReader
extends Object


Constructor Summary
XMLReader()
           
 
Method Summary
static HashMap<String,ArrayList<Span>> getEntityMentions(org.jdom.Document document)
          Get spans of named entity annotations indexed on knowtator mention id
static HashMap<String,String> getEntityTypes(org.jdom.Document document)
          Type of each named entity indexed on mention ids
static 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 HashMap<String,ArrayList<Span>> getEntityMentions(org.jdom.Document document)
Get spans of named entity annotations indexed on knowtator mention id


getEntityTypes

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


getRelations

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


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.