Releases: slub/mets-mods2tei
Releases · slub/mets-mods2tei
v0.1.4
v0.1.3
v0.1.2
Added
- tests for TEI API
- tests for insertion index identification
- more logging
- CLI param for output file
- CLI param for image fileGrp
Changed
- Add
front
,body
andback
per default - Log to stderr instead of stdout
- Differentiate between (physical) image nr and (logical) page nr
Fixed
- Evaluate texts from all struct types but
binding
andcolour_checker
, #43 - Handle errors during language code expansion, and fallback to
Unbekannt
, #47 - Add ALTO
HYP
text content if available, #52 - Allow empty logical structMap and structLink, fallback to physical, or empty, #57
- Allow partial dmdSec (MODS) or amdSec, fallback to empty, #46, #51
- Pass all
mods:identifier
s tomsIdentifier/idno
(not just VD and URN) - Parse full
titleInfo
(main/sub/part/volume), and re-use inbiblFull
- Prefer
titleInfo/title
overdiv/@LABEL
if available - Map top logical
div/@TYPE
into allowedbiblFull/title/@level
only - Map top logical
div/@TYPE
into appropriatebibl/@type
if possible
v0.1.1
Added
- Treat nested AMD-type (non-logical) divs in logical struct map (i.e. newspaper case)
- Make full text file group selectable by user
- Allow for file entries (in addition to URLs) in METS
- Add special treatment for URNs and VD IDs
- Add poor man's namespace versioning handling
Changed
- Make extraction of subtitles conditional on their presence
- Use "licence" for all types of licences (even unknown ones)
Fixed
Working TEI/text serialization
With this version, the <text>
part of the TEI file gets spurred. The div
structure from the METS file is carried over to the TEI and, optionally, attached OCR in ALTO format is added to single div
s as defined by METS' logical struct map.
Initial Release
A complete TEI header is created from METS/MODS files. Tested with multiple examples but not yet systematically.