public class DefaultAllocationReader extends java.lang.Object implements AllocationReader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BEGIN_DOCUMENT |
static java.lang.String |
BEGIN_EDGES |
static java.lang.String |
BEGIN_NODES |
static java.lang.String |
COMMENT_PREFIX |
static java.lang.String |
END_DOCUMENT |
static java.lang.String |
END_EDGES |
static java.lang.String |
END_NODES |
Constructor and Description |
---|
DefaultAllocationReader() |
Modifier and Type | Method and Description |
---|---|
void |
init(de.ims.icarus.util.location.Location location,
de.ims.icarus.util.Options options,
DocumentSet documentSet) |
void |
readAllocation(CoreferenceAllocation allocation) |
public static final java.lang.String BEGIN_DOCUMENT
public static final java.lang.String END_DOCUMENT
public static final java.lang.String BEGIN_NODES
public static final java.lang.String END_NODES
public static final java.lang.String BEGIN_EDGES
public static final java.lang.String END_EDGES
public static final java.lang.String COMMENT_PREFIX
public void init(de.ims.icarus.util.location.Location location, de.ims.icarus.util.Options options, DocumentSet documentSet) throws java.lang.Exception
init
in interface AllocationReader
java.lang.Exception
public void readAllocation(CoreferenceAllocation allocation) throws java.lang.Exception
readAllocation
in interface AllocationReader
java.lang.Exception