Spaces:
Runtime error
Runtime error
jaisidhsingh
commited on
Commit
•
3bea9f1
1
Parent(s):
4d5d402
Update summarize.py
Browse files- summarize.py +2 -0
summarize.py
CHANGED
@@ -2,6 +2,8 @@ from utils.sentence_embedding import *
|
|
2 |
from utils.clustering import *
|
3 |
from models.summarizers import *
|
4 |
from nltk.tokenize import sent_tokenize, word_tokenize
|
|
|
|
|
5 |
import math
|
6 |
from time import perf_counter
|
7 |
import time
|
|
|
2 |
from utils.clustering import *
|
3 |
from models.summarizers import *
|
4 |
from nltk.tokenize import sent_tokenize, word_tokenize
|
5 |
+
nltk.download("punkt")
|
6 |
+
nltk.download("wordnet")
|
7 |
import math
|
8 |
from time import perf_counter
|
9 |
import time
|