Added more functions for merging parse tree and dcoref.