Patent attributes
A computer-implemented method for template generation may include: receiving a first plurality of variables, each of the first plurality of variables specifying a feature to be implemented in a new template for document generation; for each of a plurality of existing templates for document generation, determining a degree of similarity between the first plurality of variables and a plurality of variables included in the respective existing template; upon determining that none of the degrees of similarity respectively determined for the plurality of existing templates satisfies a similarity threshold, determining that a combination of variables from two or more of the plurality of existing templates has a degree of similarity with the first plurality of variables satisfying the similarity threshold; and generating the new template based on the two or more of the plurality of existing templates.