A computer program for analyzing documents in response to user commands, in a computer system having a memory, the computer program comprising a computer usable medium having computer readable program code thereon, the computer readable program code, including:
- comparing a subject document or subset of a subject document to a plurality of given templates;
- determining which given template or templates matches the subject document or subset of a subject document to a given degree of correspondence;
- and
- reporting the comparison of the document or subset of a document against the template or templates.