Skip to content

Commit 1e50b93

Browse files
author
w4ngatang
committed
fix spacy loading in qg utils
1 parent 81d6454 commit 1e50b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qg_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def extract_ans(txts):
3030
- nouns w/ dependencies that are proper nouns, roughly nouns modifying proper nouns
3131
- if the head of a noun chunk if a verb, the entire noun chunk ?
3232
"""
33-
nlp = get_spacy_nlp("en_core_web_lg")
33+
nlp = spacy.load("en_core_web_lg")
3434
all_ans = list()
3535
for doc in nlp.pipe(txts, disable=[]):
3636
ans = list()

0 commit comments

Comments
 (0)