head = head.getHead();
if (MPLibEn.isNoun(head.pos) || head.isPos(CTLibEn.POS_IN) || head.isPos(CTLibEn.POS_RP))
{
DEPNode gHead = head.getHead();
SRLArc sp, sh;
if (gHead != null && (sp = prep.getSHead(gHead)) != null)
{
if ((sh = head.getSHead(gHead)) != null)
{
if (head.isPos(CTLibEn.POS_IN) && sh.isLabel(SRLLib.C_V))
{
head.pos = CTLibEn.POS_RP;
head.setLabel(DEP_PRT);
}
prep.setHead(gHead);
}
else
{
prep.removeSHead(sp);
head.addSHead(gHead, sp.getLabel());
}
}
// if (gHead != null && (sp = prep.getSHead(gHead)) != null && (sh = head.getSHead(gHead)) != null)
// prep.setHead(gHead);