Document Type Recognition and Content Summarization