Spaces:
Runtime error
Runtime error
as-cle-bert
commited on
Commit
•
78319c1
1
Parent(s):
24c6451
Update websearching.py
Browse files- websearching.py +5 -0
websearching.py
CHANGED
@@ -1,8 +1,13 @@
|
|
1 |
from googlesearch import search
|
2 |
from rake_nltk import Rake
|
|
|
3 |
from boilerpy3 import extractors
|
4 |
import json
|
5 |
|
|
|
|
|
|
|
|
|
6 |
extractor = extractors.ArticleExtractor()
|
7 |
r = Rake()
|
8 |
|
|
|
1 |
from googlesearch import search
|
2 |
from rake_nltk import Rake
|
3 |
+
import nltk
|
4 |
from boilerpy3 import extractors
|
5 |
import json
|
6 |
|
7 |
+
|
8 |
+
nltk.download("punkt")
|
9 |
+
nltk.download("stopwords")
|
10 |
+
|
11 |
extractor = extractors.ArticleExtractor()
|
12 |
r = Rake()
|
13 |
|