We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In [1]: import spacy.en In [2]: nlp = spacy.en.English() --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-2-c68587acddc5> in <module>() ----> 1 nlp = spacy.en.English() /usr/local/lib/python3.4/site-packages/spacy/en/__init__.py in __init__(self, data_dir) 74 else: 75 tok_data_dir = path.join(data_dir, 'tokenizer') ---> 76 tok_rules, prefix_re, suffix_re, infix_re = read_lang_data(tok_data_dir) 77 prefix_re = re.compile(prefix_re) 78 suffix_re = re.compile(suffix_re) /usr/local/lib/python3.4/site-packages/spacy/util.py in read_lang_data(data_dir) 14 def read_lang_data(data_dir): 15 with open(path.join(data_dir, 'specials.json')) as file_: ---> 16 tokenization = json.load(file_) 17 prefix = read_prefix(data_dir) 18 suffix = read_suffix(data_dir) /usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/__init__.py in load(fp, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw) 266 cls=cls, object_hook=object_hook, 267 parse_float=parse_float, parse_int=parse_int, --> 268 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) 269 270 /usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw) 316 parse_int is None and parse_float is None and 317 parse_constant is None and object_pairs_hook is None and not kw): --> 318 return _default_decoder.decode(s) 319 if cls is None: 320 cls = JSONDecoder /usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/decoder.py in decode(self, s, _w) 341 342 """ --> 343 obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 344 end = _w(s, end).end() 345 if end != len(s): /usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/decoder.py in raw_decode(self, s, idx) 357 """ 358 try: --> 359 obj, end = self.scan_once(s, idx) 360 except StopIteration as err: 361 raise ValueError(errmsg("Expecting value", s, err.value)) from None ValueError: Expecting property name enclosed in double quotes: line 567 column 1 (char 15406)
The text was updated successfully, but these errors were encountered:
Try now --- just released 0.80. This should be fixed.
(run pip install --upgrade spacy)
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
The text was updated successfully, but these errors were encountered: