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.Parserpublic Object next()
next in interface edu.illinois.cs.cogcomp.lbjava.parse.Parserpublic void reset()
reset in interface edu.illinois.cs.cogcomp.lbjava.parse.ParserCopyright © 2017. All rights reserved.