course content

Course Content

Python Text Summarizer: Condensing Content with Code

Extract Sentences 1/3Extract Sentences 1/3

The task is completed!

TaskCompleted

  1. Initialize an empty dict sentence_scores;
  2. Iterate over each sentence in sentence_list.
  3. Set the sentence_scores of sent to word's frequency for the sentence's first occurrence.
  4. Print the sentences together with their scores.

Everything was clear?

Section 1. Chapter 7