Open SongbiaoZhu opened 4 years ago
Is anybody reading this?
The cases you reported occur in very recent PMIDs and are caused by an external dependency, tmTool, of BERN.
I recommend you to use a HTTPS POST call (i.e., API for raw text) for very recent PMIDs.
API call for raw text does not work either
See Github issue https://github.com/dmis-lab/bern/issues/17
There are some articles with 'Excerpt' section, instead of 'Abstract' section.
For example, these pimids, ['29787038', '30844201', '31643199', '31643392', '31643562', '31855378', '31869126'].
Error output
BERN returned the html text on this kind of pmid, as [{"project":"BERN","sourcedb":"PubMed","sourceid":"31869126","text":"error: tmtool: <?xml version='1.0' encoding='UTF-8'?><!DOCTYPE collection SYSTEM 'BioC.dtd'>BioC.key ","denotations":[],"timestamp":"Sat Apr 11 04:43:19 +0000 2020"}]
Please have a notice. Besides, BERN is such a nice tool and good job!