You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO:root:Archiving data set schema(s) for step name: extract
INFO:root:Working data_set: observations
INFO:root:End extract
INFO:root:Begin transform
Traceback (most recent call last):
File "main.py", line 111, in
main()
File "main.py", line 39, in main
observations, nlp = transform(observations, nlp)
File "main.py", line 81, in transform
observations['candidate_name'] = observations['text'].apply(lambda x:
File "/home/user/.local/lib/python2.7/site-packages/pandas/core/series.py", line 3591, in apply
mapped = lib.map_infer(values, f, convert=convert_dtype)
File "pandas/_libs/lib.pyx", line 2217, in pandas._libs.lib.map_infer
File "main.py", line 82, in
field_extraction.candidate_name_extractor(x, nlp))
File "/home/user/Developer/ResumeParser-master/bin/field_extraction.py", line 13, in candidate_name_extractor
doc = nlp(input_string)
File "/home/user/.local/lib/python2.7/site-packages/spacy/language.py", line 427, in call
doc = self.make_doc(text)
File "/home/user/.local/lib/python2.7/site-packages/spacy/language.py", line 453, in make_doc
return self.tokenizer(text)
TypeError: Argument 'string' has incorrect type (expected unicode, got str)
Thanks
The text was updated successfully, but these errors were encountered:
Hi there,
Is this an install issue or a bug:
INFO:root:Archiving data set schema(s) for step name: extract
INFO:root:Working data_set: observations
INFO:root:End extract
INFO:root:Begin transform
Traceback (most recent call last):
File "main.py", line 111, in
main()
File "main.py", line 39, in main
observations, nlp = transform(observations, nlp)
File "main.py", line 81, in transform
observations['candidate_name'] = observations['text'].apply(lambda x:
File "/home/user/.local/lib/python2.7/site-packages/pandas/core/series.py", line 3591, in apply
mapped = lib.map_infer(values, f, convert=convert_dtype)
File "pandas/_libs/lib.pyx", line 2217, in pandas._libs.lib.map_infer
File "main.py", line 82, in
field_extraction.candidate_name_extractor(x, nlp))
File "/home/user/Developer/ResumeParser-master/bin/field_extraction.py", line 13, in candidate_name_extractor
doc = nlp(input_string)
File "/home/user/.local/lib/python2.7/site-packages/spacy/language.py", line 427, in call
doc = self.make_doc(text)
File "/home/user/.local/lib/python2.7/site-packages/spacy/language.py", line 453, in make_doc
return self.tokenizer(text)
TypeError: Argument 'string' has incorrect type (expected unicode, got str)
Thanks
The text was updated successfully, but these errors were encountered: