-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
Errors: "cannot parse" when making dictionaries #15
Comments
Here's another set of "cannot parse" errors, but in this query I used scispacy, and eded up the following new set of errors following "Traceback":
Here's the whole log:
|
Please don't give the whole LOG file (the WARNING and INFO are normal) Chop
them out and put [...] or similar. Just show the bug part, and only a few.
File "/usr/local/lib/python3.10/site-packages/docanalysis/entity_extraction.py",
line 222, in run_spacy_over_sections
doc = self.nlp(dict_with_parsed_xml[paragraph]['sentence'])
TypeError: 'NoneType' object is not callable
PMR> This one looks like a rare document with errors (I hope) Please can
you see if you can find which one . @Shweata will need to trap the line
with try: except or test for null.
… Message ID: ***@***.***>
--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below I will copy two separate queries and their results. The "cannot parse" errors seem identical for both.
The text was updated successfully, but these errors were encountered: