colrev.env.tei_parser.TEIParser¶
- class TEIParser(*, environment_manager, pdf_path=None, tei_path=None)[source]¶
Bases:
object
Environment service for TEI parsing
Creates a TEI file modes of operation: - pdf_path: create TEI and temporarily store in self.data - pfd_path and tei_path: create TEI and save in tei_path - tei_path: read TEI from file
Methods
Get the abstract
Get the author details
Get a dict of section-names and list-of-citations
Get the GROBID version used for TEI creation
Get the metadata of the PDF (title, author, ...) as a dict
Get hte keywords
Get the bibliography (references section) as a list of record dicts
Get the TEI string
Mark references with the additional record ID
Attributes
ns
nsmap
- get_citations_per_section()[source]¶
Get a dict of section-names and list-of-citations
- Return type:
dict