Before revision:  In this work, we propose a template rewriting method for Natural Language Generation (NLG) , where the number of templates scales only linearly with the number of slots . A set of simple templates is used to convert actions into utterances , which are concatenated to give a semantically correct, but possibly incoherent and ungrammatical utterance.
After revision:  In this work, we propose a template rewriting method for Natural Language Generation (NLG) , where the number of templates scales only linearly with the number of slots , to convey the semantics of the API. To generate utterances for an arbitrary slot combination, a few simple templates are first concatenated to give a semantically correct, but possibly incoherent and ungrammatical utterance.