Spaces:
Sleeping
Sleeping
Update keyword_extraction.py
Browse files- keyword_extraction.py +1 -1
keyword_extraction.py
CHANGED
@@ -15,5 +15,5 @@ def extract_keywords(text):
|
|
15 |
# Get the ranked keywords
|
16 |
ranked_keywords = rake.get_ranked_phrases()
|
17 |
|
18 |
-
return ranked_keywords
|
19 |
|
|
|
15 |
# Get the ranked keywords
|
16 |
ranked_keywords = rake.get_ranked_phrases()
|
17 |
|
18 |
+
return ranked_keywords[0]
|
19 |
|