public final class Relationship extends Object
| Constructor and Description |
|---|
Relationship(String predicate,
String arg1,
String arg2,
String arg3,
List<String> temporals,
List<String> locatives,
List<String> adjuncts,
Double confidence)
constructor for
Relationship |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
if the param is a
Relationship, compare contents for equality |
List<String> |
getAdjuncts()
get a list of adjuncts
|
String |
getArg1() |
String |
getArg2() |
String |
getArg3() |
Double |
getConfidence()
get the confidence
|
List<String> |
getLocatives()
get a list of locatives
|
String |
getPredicate()
get the relationship predicate
|
List<String> |
getTemporals()
get a list of temporals
|
int |
hashCode() |
public Relationship(String predicate, String arg1, String arg2, String arg3, List<String> temporals, List<String> locatives, List<String> adjuncts, Double confidence)
Relationshippredicate - relationship predicatearg1 - relationship argument 1arg2 - relationship argument 2arg3 - relationship argument 3temporals - relationship temporalslocatives - relationship locativesadjuncts - relationship adjunctsconfidence - a measure of quality of relationship extractionpublic boolean equals(Object o)
Relationship, compare contents for equalitypublic String getPredicate()
public String getArg1()
public String getArg2()
public String getArg3()
public List<String> getTemporals()
public List<String> getLocatives()
public Double getConfidence()
Copyright © 2014–2016 Basis Technology Corp.. All rights reserved.