The grammar (SEMXTAG) used by GENI and RTGEN is a Feature-Based Lexicalised Tree Adjoining Grammar (FTAG) augmented with a unification-based semantics as described in (Gardent and Kallmeyer, 2003).
third, the retrieval phase extracts the yields of the complete derived trees, thereby producing the generated sentence(s).