Patent attributes
A system and method and for identifying a template for a document includes receiving a request to identify the template from among a plurality of available templates, the plurality of templates being templates that are available for use in an application. After receiving the request, the content and structure of the document are encoded into one or more embedding representations via a trained document encoder and the embedding representations are compared to a plurality of template representations, each of the plurality of template representations being a representation of content and structure of one of the plurality of templates to identify one of the plurality of the templates as corresponding to the document. The identified template is then provided for display as a recommended template.