add swap nodes for stanford DEPTree