Snippet extraction based on ranking of sentences.