Code examples for text summarization.