1. A method for representing similar text documents or portions of similar text documents as standardized text templates and deviations from standardized text templates, the method comprising: generating a standardized text template from a family of similar text inputs; determining the deviations of individual text inputs from the standardized text template so generated; and representing the individual text inputs as the combination of the standardized template and the deviations from the standardized template.