public class Relation extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
relationName |
protected double |
score |
protected Constituent |
source |
protected Constituent |
target |
Constructor and Description |
---|
Relation(String relationName,
Constituent source,
Constituent target,
double score) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getRelationName() |
double |
getScore() |
Constituent |
getSource() |
Constituent |
getTarget() |
int |
hashCode() |
String |
toString() |
protected Constituent source
protected Constituent target
protected double score
protected final int relationName
public Relation(String relationName, Constituent source, Constituent target, double score)
public String getRelationName()
public double getScore()
public Constituent getSource()
public Constituent getTarget()
Copyright © 2015. All rights reserved.