return null;
}
private void postLabelReferent(DEPTree tree, List<List<DEPArc>> argLists)
{
DEPNode pred = tree.get(0);
List<DEPArc> args;
PBRoleset roleset;
String label, n;
DEPNode node;
int i, size;
DEPArc arg;
while ((pred = tree.getNextPredicate(pred.id)) != null)
{
args = argLists.get(pred.id);
size = args.size();
for (i=0; i<size; i++)
{
arg = args.get(i);
label = arg.getLabel();
if (SRLLib.P_ARG_REF.matcher(label).find())
{
if ((n = PBLib.getNumber(label)) != null && !containsNumberedArugment(args, n, 0, i) && containsNumberedArugment(args, n, i+1, size))
{
roleset = m_frames.getRoleset(getPBType(pred), pred.lemma, pred.getFeat(DEPLibEn.FEAT_PB));
n = Integer.toString(Integer.parseInt(n)+1);
if (roleset.isValidArgumentNumber(n) && !containsNumberedArugment(args, n, i+1, size))
{
node = arg.getNode();
node.getSHead(pred).setLabel(SRLLib.PREFIX_REFERENT+"A"+n);
}
}
break;
}