@Beta public class PropbankSplitRelation extends PropbankRelation
A PropbankSplitRelation object represents a reference to multiple relations that are part of a split argument in Propbank.
| Modifier and Type | Field and Description |
|---|---|
protected List<PropbankRelation> |
relations |
| Constructor and Description |
|---|
PropbankSplitRelation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRelation(PropbankRelation rel) |
Annotation |
convert(JCas view,
TopTreebankNode topNode)
Convert to an appropriate ClearTK annotation and add it to jCas if necessary.
|
static PropbankSplitRelation |
fromString(String s) |
List<PropbankRelation> |
getRelations() |
String |
toString()
Re-generate the text that this object was parsed from.
|
protected List<PropbankRelation> relations
public PropbankSplitRelation()
public void addRelation(PropbankRelation rel)
public Annotation convert(JCas view, TopTreebankNode topNode)
PropbankRelationconvert in class PropbankRelationview - the view where the annotation will be addedtopNode - the top node annotation of the corresponding Treebank parsepublic static PropbankSplitRelation fromString(String s)
public List<PropbankRelation> getRelations()
public String toString()
PropbankRelationtoString in class PropbankRelationCopyright © 2014. All rights reserved.