1. A method for converting an input script, the method comprising: obtaining an input script comprising at least one variable; obtaining at least one translation transformation rule from a library; converting the input script into a tree representation; folding the tree representation to hide a subset of variables in the input script to create a folded tree; and generating a natural language text by applying at least one translation transformation rule from the library to the folded tree.
1. A method for converting an input script, the method comprising: obtaining an input script comprising at least one variable; obtaining at least one translation transformation rule from a library; converting the input script into a tree representation; folding the tree representation to hide a subset of variables in the input script to create a folded tree; and generating a natural language text by applying at least one translation transformation rule from the library to the folded tree. 2. The method of claim 1 , in which folding the tree representation to hide the subset of the variables in the input script to create a folded tree comprises replacing a node of the tree representation in which a variable is used with a part of the tree representation in which the variable is defined.