Arguments of the relation (subject, possibly an object).
Any features of the relation e.g. modality: can.
ReadonlyidID of the relation used to refer to it from other objects.
Name of the relation, e.g. eat for eat a pizza or good for a good pizza.
Sentiment of this relation. null if not requested.
Tecto-tokens of all the mentions of the relations (restricted to its head). Empty if not requested.
Human redable representation of the relation, e.g. eat-not(SUBJ:John, DOBJ:pizza).
One of Relation.TYPE_ATTR, Relation.TYPE_RELATION, Relation.TYPE_EXTERNAL.
Optional vectors for this relation.
Static ReadonlyFEAT_Feature storing info about modality.
Static ReadonlyFEAT_Key presence signifies it is a negated word, value = True.
Static ReadonlyTYPE_Attribute relation (e.g. good(pizza) for good pizza, pizza is good).
Static ReadonlyTYPE_Relation where at least one argument is outside of the the document (e.g. between pizza in the document and
food item in the knowledgebase).
Static ReadonlyTYPE_Verbal relation (e.g. eat(pizza) for eat a pizza.
Returns the relation object argument, if precisely one is present; otherwise returns null.
Returns the relation subject argument, if precisely one is present; otherwise returns null.
StaticofRelation factory method, public constructor.
An object encapsulating a relation extracted from text. For example
buy(John, car).