//
// }
// }
if (!temporalRelation.isEmpty()){
TLinkTypeArray2 relationArray = new TLinkTypeArray2(temporalRelation, new AnnotationIdCollection(temporalRelation));
int addedCount = 0;
for (BinaryTextRelation relation : relationArray.getClosedTlinks(jCas)) {
RelationArgument arg1 = relation.getArg1();
RelationArgument arg2 = relation.getArg2();
String relationType = relation.getCategory();
if(relationType.equals("CONTAINED-BY")||relationType.equals("AFTER")){//ignore these two categories, because their reciprocal already exist.
continue;