public abstract class AbstractSRLAnnotationReader extends PennTreebankReader
| Modifier and Type | Field and Description |
|---|---|
protected String |
dataHome |
static String |
HyphenTagInfo |
static String |
LemmaIdentifier |
protected boolean |
mergeContiguousCArgs |
static String |
SenseIdentifier |
protected String |
srlViewName |
combinedWSJHome, currentSectionId, PENN_TREEBANK_WSJcorpusName, currentAnnotationId, resourceManager| Constructor and Description |
|---|
AbstractSRLAnnotationReader(Iterable<TextAnnotation> list,
String treebankHome,
String nombankHome,
String[] sections,
String srlViewName,
boolean mergeContiguousCArgs) |
AbstractSRLAnnotationReader(String treebankHome) |
AbstractSRLAnnotationReader(String treebankHome,
String nombankHome,
String[] sections,
String srlViewName,
boolean mergeContiguousCArgs) |
AbstractSRLAnnotationReader(String treebankHome,
String nombankHome,
String srlViewName,
boolean mergeContiguousCArgs) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getDataFile(String dataHome) |
boolean |
hasNext()
is there another annotation object to return?
|
TextAnnotation |
next()
return the next annotation object.
|
protected abstract edu.illinois.cs.cogcomp.nlp.corpusreaders.AbstractSRLAnnotationReader.Fields |
readFields(String line) |
generateReport, initializeReader, removeiterator, resetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorforEachRemainingpublic static final String LemmaIdentifier
public static final String SenseIdentifier
public static final String HyphenTagInfo
protected String srlViewName
protected boolean mergeContiguousCArgs
protected String dataHome
public AbstractSRLAnnotationReader(String treebankHome) throws Exception
Exceptionpublic AbstractSRLAnnotationReader(String treebankHome, String nombankHome, String srlViewName, boolean mergeContiguousCArgs) throws Exception
Exceptionpublic AbstractSRLAnnotationReader(String treebankHome, String nombankHome, String[] sections, String srlViewName, boolean mergeContiguousCArgs) throws Exception
Exceptionpublic final boolean hasNext()
AnnotationReaderhasNext in interface Iterator<TextAnnotation>hasNext in class PennTreebankReaderpublic final TextAnnotation next()
PennTreebankReadernext in interface Iterator<TextAnnotation>next in class PennTreebankReaderprotected abstract edu.illinois.cs.cogcomp.nlp.corpusreaders.AbstractSRLAnnotationReader.Fields readFields(String line)
Copyright © 2017. All rights reserved.