public class RelationsUtils extends Object
Constructor and Description |
---|
RelationsUtils() |
Modifier and Type | Method and Description |
---|---|
static int[] |
transitiveClosure(RelationSet relSet,
String relationName,
int annotationId)
Computes the transitive closure for symmetric transitive relations (such as
co-reference).
|
public static int[] transitiveClosure(RelationSet relSet, String relationName, int annotationId)
relSet
- the RelationSet
used as context.relationName
- the relation to be used for computing the closure.annotationId
- the ID for the seed annotation.Copyright © 2024 GATE. All rights reserved.