Spaces:
Sleeping
Sleeping
Update extractive_summarization.py
Browse files
extractive_summarization.py
CHANGED
|
@@ -47,7 +47,7 @@ def summarize_with_textrank(text, sentences_count=5):
|
|
| 47 |
|
| 48 |
|
| 49 |
# Define LSA summarization function
|
| 50 |
-
def summarize_with_lsa(text, sentences_count=
|
| 51 |
"""
|
| 52 |
Summarizes the provided text using LSA (Latent Semantic Analysis) algorithm.
|
| 53 |
Args:
|
|
|
|
| 47 |
|
| 48 |
|
| 49 |
# Define LSA summarization function
|
| 50 |
+
def summarize_with_lsa(text, sentences_count=15):
|
| 51 |
"""
|
| 52 |
Summarizes the provided text using LSA (Latent Semantic Analysis) algorithm.
|
| 53 |
Args:
|