Skip to content

Commit 4cb6848

Browse files
author
Chloe White
committed
scores important sentences
1 parent 858b6f4 commit 4cb6848

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

text_sum/text_summarizer.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ def extract_sentences(text):
88
return ["Sentence 1 (placeholder)", "Sentence 2 (placeholder)"]
99

1010
if __name__ == "__main__":
11-
main()
11+
main()
12+
13+
# text_summarizer.py (continued)
14+
def score_sentences(sentences):
15+
print("Scoring sentences (placeholder)")
16+
scores = {s: 1 for s in sentences}
17+
return scores

0 commit comments

Comments
 (0)