A method for automatically creating a model of documents representing a
class of documents. The method includes the steps of providing a
plurality of documents separated into different classes; and determining
at least one potential identifying tag within one document belonging to
one class. The identifying tag may be defined by at least its graphical
content, size and location within the document. The method also includes
checking whether the potential identifying tag is included within at
least a document of the class and creating a model of documents related
to said one class, the model including the selected identifying tags.