org.apache.ctakes.relationextractor.knowtator
Class XMLReader
java.lang.Object
org.apache.ctakes.relationextractor.knowtator.XMLReader
public class XMLReader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLReader
public XMLReader()
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.