@Beta public final class PropbankTerminalRelation extends PropbankRelation
A PropbankTerminalRelation object represents a reference to one terminal in Propbank.
| Modifier and Type | Field and Description |
|---|---|
protected int |
terminalNumber |
| Constructor and Description |
|---|
PropbankTerminalRelation(int terminalNumber) |
| Modifier and Type | Method and Description |
|---|---|
TreebankNode |
convert(JCas jCas,
TopTreebankNode topNode)
Convert to an appropriate ClearTK annotation and add it to jCas if necessary.
|
static PropbankTerminalRelation |
fromString(String s) |
int |
getTerminalNumber() |
void |
setTerminalNumber(int terminalNumber) |
String |
toString()
Re-generate the text that this object was parsed from.
|
protected int terminalNumber
public PropbankTerminalRelation(int terminalNumber)
public TreebankNode convert(JCas jCas, TopTreebankNode topNode)
PropbankRelationconvert in class PropbankRelationjCas - the view where the annotation will be addedtopNode - the top node annotation of the corresponding Treebank parsepublic static PropbankTerminalRelation fromString(String s)
public int getTerminalNumber()
public void setTerminalNumber(int terminalNumber)
public String toString()
PropbankRelationtoString in class PropbankRelationCopyright © 2014. All rights reserved.