public class ExtentReader extends Object implements edu.illinois.cs.cogcomp.lbjava.parse.Parser
Constructor and Description |
---|
ExtentReader(String path)
When no corpus is selected, it is set to "ACE"
|
ExtentReader(String path,
String corpus) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getId()
Produce an ID for model naming
|
List<Relation> |
getPairs() |
List<TextAnnotation> |
getTextAnnotations() |
Object |
next() |
void |
reset() |
public ExtentReader(String path, String corpus)
path
- The data pthcorpus
- The corpus "ACE/ERE"public ExtentReader(String path)
public String getId()
public List<TextAnnotation> getTextAnnotations()
public void close()
close
in interface edu.illinois.cs.cogcomp.lbjava.parse.Parser
public Object next()
next
in interface edu.illinois.cs.cogcomp.lbjava.parse.Parser
public void reset()
reset
in interface edu.illinois.cs.cogcomp.lbjava.parse.Parser
Copyright © 2017. All rights reserved.