1. A method executed on a computing device to detect a document type of a document, the method comprising: analyzing the document to detect features of the document and pages of the document based on an action selecting the document; detecting a type of the pages based on the features; and aggregating the type of the pages and values of the features of the document to identify the document type of the document.