Lihuchen commited on
Commit
b34e98b
1 Parent(s): b18ee60

update acrobert.py

Browse files
Files changed (1) hide show
  1. 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')