Spaces:
Runtime error
Runtime error
EmreYY20
commited on
Commit
•
2db0327
1
Parent(s):
47639e3
update
Browse files- extractive_model.py +1 -1
extractive_model.py
CHANGED
@@ -15,7 +15,7 @@ from sumy.summarizers.text_rank import TextRankSummarizer
|
|
15 |
import nltk
|
16 |
nltk.download('punkt')
|
17 |
|
18 |
-
def
|
19 |
"""
|
20 |
Summarizes the provided text using TextRank algorithm.
|
21 |
|
|
|
15 |
import nltk
|
16 |
nltk.download('punkt')
|
17 |
|
18 |
+
def summarize_pdf_with_textrank(text, sentences_count=5):
|
19 |
"""
|
20 |
Summarizes the provided text using TextRank algorithm.
|
21 |
|