public String getAnswer(DEPTree qdTree, DEPTree rdTree, int qVerbID, int rVerbID, String delim)
{
qdTree = qdTree.clone(); qdTree.setDependents();
rdTree = rdTree.clone(); rdTree.setDependents();
SRLTree qsTree = qdTree.getSRLTree(qVerbID);
SRLTree rsTree = rdTree.getSRLTree(rVerbID);
stripUnnecessaries(rsTree.getPredicate());
SRLLib.relinkRelativeClause(rsTree);
SRLLib.relinkCoordination(rsTree);
LGLibEn.convertUnI(qdTree);
LGLibEn.convertUnI(rdTree);
if (isShortAnswer(qsTree, rsTree))
return getShortAnswer(qdTree, rdTree, qsTree, rsTree, delim);
else
return getLongAnswer(qdTree, qsTree, rsTree.getPredicate(), delim);
}