public class XMLReader extends Object
Constructor and Description |
---|
XMLReader() |
Modifier and Type | Method and Description |
---|---|
static HashMap<String,ArgumentInfo> |
getAttributes(org.jdom.Document document)
Attributes of each named entity indexed on mention ids.
|
static HashMap<String,ArgumentInfo> |
getAttributes(org.jdom.Document document,
String[] headings)
Attributes of each named entity indexed on mention ids.
|
static HashMap<String,List<String>> |
getEntityAttributes(org.jdom.Document document)
Attribute mention IDs of each named entity, indexed on mention ids
Filter based on entity types, so non-NE get left out.
|
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 HashMap<String,List<String>> getEntityAttributes(org.jdom.Document document)
public static HashMap<String,ArgumentInfo> getAttributes(org.jdom.Document document)
public static HashMap<String,ArgumentInfo> getAttributes(org.jdom.Document document, String[] headings)
public static ArrayList<RelationInfo> getRelations(org.jdom.Document document)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.