8. A computer-implemented method for classifying documents that have different scales, the method comprising: counting, by a server computer, instances for each character size in a first document and instances for each character size in a second document; selecting, by the server computer, a first plurality of character sizes for the first document and a second plurality of character sizes for the second document, based on a corresponding count of instances associated with each corresponding character size; calculating, by the server computer, a plurality of scales, wherein each scale of the plurality of scales is based on a corresponding ratio of a corresponding one of the first plurality of character sizes relative to a corresponding one of the second plurality of character sizes; calculating, by the server computer, a plurality of scale products based on each corresponding count of instances for each character size range associated with the first plurality of character sizes multiplied by each corresponding count of instances for each corresponding character size range associated with the second plurality of character sizes, wherein the corresponding character size range is based on a corresponding one of the plurality of scales; calculating, by the server computer, a plurality of scale scores based on summing each of the plurality of scale products associated with each corresponding one of the plurality of scales; selecting, by the server computer, a scale of the plurality of scales based a highest one of the plurality of scale scores associated with a corresponding one the plurality of scales; determining, by the server computer, whether the second document is in a class associated with the first document based on a comparison of location information associated with the first document and location information associated with the second document, wherein the location information associated with second document is based on the scale; and classifying, by the server computer, the second document in the class associated with the first document in response to a determination that the second document is in the class associated with the first document.
8. A computer-implemented method for classifying documents that have different scales, the method comprising: counting, by a server computer, instances for each character size in a first document and instances for each character size in a second document; selecting, by the server computer, a first plurality of character sizes for the first document and a second plurality of character sizes for the second document, based on a corresponding count of instances associated with each corresponding character size; calculating, by the server computer, a plurality of scales, wherein each scale of the plurality of scales is based on a corresponding ratio of a corresponding one of the first plurality of character sizes relative to a corresponding one of the second plurality of character sizes; calculating, by the server computer, a plurality of scale products based on each corresponding count of instances for each character size range associated with the first plurality of character sizes multiplied by each corresponding count of instances for each corresponding character size range associated with the second plurality of character sizes, wherein the corresponding character size range is based on a corresponding one of the plurality of scales; calculating, by the server computer, a plurality of scale scores based on summing each of the plurality of scale products associated with each corresponding one of the plurality of scales; selecting, by the server computer, a scale of the plurality of scales based a highest one of the plurality of scale scores associated with a corresponding one the plurality of scales; determining, by the server computer, whether the second document is in a class associated with the first document based on a comparison of location information associated with the first document and location information associated with the second document, wherein the location information associated with second document is based on the scale; and classifying, by the server computer, the second document in the class associated with the first document in response to a determination that the second document is in the class associated with the first document. 14. The computer-implemented method of claim 8 , wherein the first document is associated with a template in response to a comparison to classify documents similar to a document associated with the template.