8. The method of claim 7 wherein generating the syntactic representation corresponding to the selected non-leaf node comprises: obtaining a first syntactic vector corresponding to a first parent node of the selected non-leaf node; obtaining a second syntactic vector corresponding to a second parent node of the selected non-leaf node; generating the tensor by applying the tensor function to the first syntactic vector and the second syntactic vector; generating the first matrix by applying the first matrix function to the first syntactic vector and the second syntactic vector; generating the second matrix by applying the second matrix function to the first syntactic vector and the second syntactic vector; and generating the offset vector by applying the offset function to the first syntactic vector and the second syntactic vector.
8. The method of claim 7 wherein generating the syntactic representation corresponding to the selected non-leaf node comprises: obtaining a first syntactic vector corresponding to a first parent node of the selected non-leaf node; obtaining a second syntactic vector corresponding to a second parent node of the selected non-leaf node; generating the tensor by applying the tensor function to the first syntactic vector and the second syntactic vector; generating the first matrix by applying the first matrix function to the first syntactic vector and the second syntactic vector; generating the second matrix by applying the second matrix function to the first syntactic vector and the second syntactic vector; and generating the offset vector by applying the offset function to the first syntactic vector and the second syntactic vector. 9. The method of claim 8 wherein generating the syntactic representation corresponding to the selected non-leaf node of the dependency structure comprises: computing a first result by multiplying together: the first matrix with a first semantic vector; computing a second result by multiplying together: the second matrix with a second semantic vector; computing a third result by multiplying together: the mapping matrix with the semantic representation corresponding to the selected non-leaf node; and computing the syntactic representation corresponding to the selected non-leaf node as the sum of: the first result, the second result, the third result, the tensor, and the offset vector.