Syntax to Semantics Transformation: Application to Treebanking