Skip to content
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

Self-promotion: new grobid_tei_xml python library #41

Open
bnewbold opened this issue Nov 15, 2021 · 0 comments
Open

Self-promotion: new grobid_tei_xml python library #41

bnewbold opened this issue Nov 15, 2021 · 0 comments

Comments

@bnewbold
Copy link

Wanted to share this new python library for parsing metadata out of GROBID "flavor" TEI-XML:

As mentioned in the README, there are a couple other libraries that do similar or the same thing, including generic TEI parsing libraries which are not specific to GROBID. At scholar.archive.org we had a need to extract header and citation metadata in a structured but non-XML format (eg, JSON or python objects), so we wrote this. It uses only the Python 3 standard library, includes type annotations, and has decent test coverage. It supports both older ~v0.5 era GROBID documents as well as more recent output. We have run the output of tens of millions of PDFs through GROBID and this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant