public class TypedDependency extends java.lang.Object implements ILink, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private Token |
dependent
Dependent
|
private Token |
governor
Governor
|
private BasicRelation |
relation
Relation id
|
private static long |
serialVersionUID |
Constructor and Description |
---|
TypedDependency(BasicRelation relation,
Token governor,
Token dependent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Token |
getDependent()
Get dependent
|
int |
getDependentIndex()
Get dependent index
|
java.lang.String |
getDependentWord()
Get dependent
|
Token |
getGovernor()
Get governor
|
int |
getGovernorIndex()
Get governor index
|
java.lang.String |
getGovernorWord()
Get governor value
|
BasicRelation |
getRelation()
Get relation
|
java.lang.String |
getRelationId()
Get relation id
|
java.lang.String |
getRelationLongName()
Get relation long name
|
java.lang.String |
getRelationSpecific()
Get relation specific
|
Token |
getSourceToken()
Get source token
|
Token |
getTargetToken()
Get target token
|
java.lang.String |
toForm()
Logical form
|
java.lang.String |
toString() |
private static final long serialVersionUID
private final BasicRelation relation
private final Token governor
private final Token dependent
public TypedDependency(BasicRelation relation, Token governor, Token dependent)
relation
- relationgovernor
- governordependent
- dependentpublic BasicRelation getRelation()
ILink
getRelation
in interface ILink
public Token getSourceToken()
ILink
getSourceToken
in interface ILink
public Token getTargetToken()
ILink
getTargetToken
in interface ILink
public java.lang.String getRelationId()
public java.lang.String getRelationSpecific()
public java.lang.String getRelationLongName()
public Token getGovernor()
public Token getDependent()
public java.lang.String getGovernorWord()
public int getGovernorIndex()
public java.lang.String getDependentWord()
public int getDependentIndex()
public java.lang.String toForm()
public java.lang.String toString()
toString
in class java.lang.Object