Closed jalavik closed 8 years ago
We need to convert TEI format to our data model. Here are the proposed steps:
inspire-next/dojson/tei
inspire-next/dojson/hep
GROBID_RECORD_PROCESSOR = "some.dojson.processor:convert_tei"
Done by @jacquerie
We need to convert TEI format to our data model. Here are the proposed steps:
inspire-next/dojson/tei
to map the dict from (2) to our data model - following the same structure and schema as theinspire-next/dojson/hep
mappings. Similar to https://github.com/inspirehep/inspire-next/blob/master/inspire/dojson/hep/fields/bd1xx.py using some new processor like https://github.com/inspirehep/inspire-next/blob/master/inspire/dojson/processors.py#L25-L44GROBID_RECORD_PROCESSOR = "some.dojson.processor:convert_tei"
with similar logic as https://github.com/inveniosoftware/invenio-records/blob/master/invenio_records/manage.py#L55-L58