Skip to content

Commit 858b6f4

Browse files
author
Chloe White
committed
function for extracting key sentences from text
1 parent ae75dff commit 858b6f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

text_sum/text_summarizer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@ def main():
33
text = input("Enter your text to summarize: ")
44
print("Processing text (placeholder)")
55

6+
def extract_sentences(text):
7+
print("Extracting key sentences (placeholder)")
8+
return ["Sentence 1 (placeholder)", "Sentence 2 (placeholder)"]
9+
610
if __name__ == "__main__":
711
main()

0 commit comments

Comments
 (0)