update acrobert.py
Browse files- acrobert.py +2 -0
acrobert.py
CHANGED
@@ -8,6 +8,8 @@ from maddog import Extractor
|
|
8 |
import spacy
|
9 |
import constant
|
10 |
|
|
|
|
|
11 |
nlp = spacy.load("en_core_web_sm")
|
12 |
ruleExtractor = Extractor()
|
13 |
kb = utils.load_acronym_kb('acronym_kb.json')
|
|
|
8 |
import spacy
|
9 |
import constant
|
10 |
|
11 |
+
import spacy.cli
|
12 |
+
spacy.cli.download("en_core_web_sm")
|
13 |
nlp = spacy.load("en_core_web_sm")
|
14 |
ruleExtractor = Extractor()
|
15 |
kb = utils.load_acronym_kb('acronym_kb.json')
|