Package com.basistech.rosette.apimodel
Class Relationship
java.lang.Object
com.basistech.rosette.apimodel.Relationship
Relationship extracted by the relationship extractor
-
Method Details
-
builder
-
getPredicate
- Returns:
- the relationship predicate
-
getPredicateId
- Returns:
- the relationship predicate'sID
-
getArg1
- Returns:
- the first arg
-
getArg1Id
- Returns:
- the first arg's ID
-
getArg2
- Returns:
- the second arg
-
getArg2Id
- Returns:
- the second arg's ID
-
getArg3
- Returns:
- the third arg
-
getArg3Id
- Returns:
- the third arg's ID
-
getAdjuncts
- Returns:
- a list of adjuncts
-
getLocatives
- Returns:
- a list of locatives
-
getTemporals
- Returns:
- a list of temporals
-
getModalities
- Returns:
- modalities
-
getConfidence
- Returns:
- the confidence (0.0-1.0)
-
equals
-
hashCode
public int hashCode() -
toString
-