Categories for Automated document analysis