1. A method of generating a sentence from a semantic representation, the method comprising: (A) mapping the semantic representation to an unordered set of syntactic nodes; (B) using grammar rules from a generation grammar and statistical goodness measure values from a corresponding analysis grammar to create a tree structure to order the syntactic nodes; and (C) generating the sentence from the tree structure.