@Beta public class PropbankCorefRelation extends PropbankRelation
A PropbankCorefRelation object represents a reference to multiple relations that are part of a coreferenced argument in Propbank.
| Modifier and Type | Field and Description |
|---|---|
protected List<PropbankRelation> |
corefRelations |
| Constructor and Description |
|---|
PropbankCorefRelation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCorefRelation(PropbankRelation rel) |
Annotation |
convert(JCas jCas,
TopTreebankNode topNode)
This is not implemented for PropbankCorefRelation and will always throw
UnsupportedOperationException. |
static PropbankCorefRelation |
fromString(String s) |
List<PropbankRelation> |
getCorefRelations() |
String |
toString()
Re-generate the text that this object was parsed from.
|
protected List<PropbankRelation> corefRelations
public PropbankCorefRelation()
public void addCorefRelation(PropbankRelation rel)
public Annotation convert(JCas jCas, TopTreebankNode topNode)
UnsupportedOperationException. Instead, the conversion of a PropbankCorefRelation
happens during Predicate conversion.convert in class PropbankRelationjCas - the view where the annotation will be addedtopNode - the top node annotation of the corresponding Treebank parsepublic static PropbankCorefRelation fromString(String s)
public List<PropbankRelation> getCorefRelations()
public String toString()
PropbankRelationtoString in class PropbankRelationCopyright © 2014. All rights reserved.