-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I install spacy successfully,but it have the error --NameError: name 'spacy' is not defined
maybe the code that t2v = text2vec.text2vec(doc_list) have some problem, how to fill the doc_list
Traceback (most recent call last):
File "main.py", line 2, in
t2v = text2vec.text2vec('train/1.txt')
File "/home/steven_yang/workspace/text2vec-master/text2vec.py", line 16, in init
self.nlp, self.docs, self.docs_dict = self._preprocess(self.doc_list)
File "/home/steven_yang/workspace/text2vec-master/text2vec.py", line 38, in _preprocess
nlp = spacy.load('en')
NameError: name 'spacy' is not defined
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels