Tagged document-analysis