Service for summarizing a document