public class XMLReader extends Object
Constructor and Description |
---|
XMLReader() |
Modifier and Type | Method and Description |
---|---|
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) |
public static HashMap<String,ArrayList<Span>> getEntityMentions(org.jdom.Document document)
public static HashMap<String,String> getEntityTypes(org.jdom.Document document)
public static ArrayList<RelationInfo> getRelations(org.jdom.Document document)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.