1. A method, comprising: obtaining tree transducer information including input/output pair information and transducer information; converting said input/output pair information and said transducer information into a set of values in a weighted tree grammar; and using said weighted tree grammar to solve a problem that requires information from the input/output pair information and transducer information.