public class MatchedBinaryTuple extends BinaryTuple
BinaryRelationMatch
BinaryTuple.TupleComparator
Modifier and Type | Field and Description |
---|---|
boolean |
available
when iterating through tuples, this helps keep track of whether tuple is available for matching
|
float |
concept1_score |
float |
concept2_score |
String |
reason
Justification for the score; may just be a string identifying a row of a master graph that matched.
|
float |
relation_score |
float |
score
whatever "score" this tuple earns in a matching operation.
|
concept1, concept1_label, concept2, concept2_label, relation, relation_label, sentence
Constructor and Description |
---|
MatchedBinaryTuple() |
MatchedBinaryTuple(Concept c1,
GNode r,
Concept c2) |
Modifier and Type | Method and Description |
---|---|
float |
getTotalScore()
Returns the total score obtained in matching this tuple.
|
String |
toHTML()
Converts this binary tuple to an HTML-compatible TABLE row; TABLE and TR tags must be
provided external to this routine.
|
getFromConcept, getRelation, getToConcept, getTupleColumnLabels, setFromConcept, setRelation, setToConcept, toArrayList, toString
public float score
public boolean available
public String reason
public float relation_score
public float concept1_score
public float concept2_score
public float getTotalScore()
public String toHTML()
BinaryTuple
toHTML
in class BinaryTuple