Gerber, Mike
8fc4eeeb3b
⚡ Make get_sets_file faster by using a lookup table
1 year ago
Gerber, Mike
912e5d2b4a
⚡ Make get_struct_log faster by using precise predicates
1 year ago
Gerber, Mike
448639b05b
⚡ Make gettstruct_log faster by using precise predicates
1 year ago
Gerber, Mike
1dac77a2f5
⚡ Make gett_struct_log faster by using find(all) instead of xpath()
1 year ago
Gerber, Mike
90c60ebb80
⚡ Make get_mets_file aa lot faster by using find() instead of xpath()
1 year ago
Gerber, Mike
16a3a3bcc8
✔ Fix tests on Python 3.8 by backporting removeprefix
1 year ago
Gerber, Mike
8d0dc72ca2
✔ Enable/document profiling
1 year ago
Gerber, Mike
8c269b35a4
✔ Test creation of page_info
1 year ago
Gerber, Mike
f243dd204a
✒ Add comments for populating type indicator variables
1 year ago
Gerber, Mike
ddffb76fb6
🐛 Fix getting parent elements if necessary
1 year ago
Mike Gerber
c5332ae80d
🚧 Write out page_info
1 year ago
Mike Gerber
e51fa5750f
🧹 Remove debug noise
1 year ago
Mike Gerber
b8980bbf25
🧹 page_info: Name structMap type columns a bit more consistently
1 year ago
Mike Gerber
3ec0f8c62a
✔ CircleCI: Don't test on Python 3.12 yet
1 year ago
Mike Gerber
e1238259b7
✔ CircleCI: Don't test on EOL Python 3.6/3.7, but test on 3.11/3.12
1 year ago
Mike Gerber
3d920f2b50
🐛 Use List/Dict for type annotations to support ye olde Python
1 year ago
Mike Gerber
968572168e
🧹 Extract a function to convert list[dict] to a DataFrame
1 year ago
Mike Gerber
5c2dfa8505
✔ Add another (large) METS example
1 year ago
Mike Gerber
889d36f0d4
✨ page_info: Retrieve filenames + structMap types
1 year ago
Mike Gerber
dd3943eaf6
🧹 .gitignore pyenv's .python-version
1 year ago
Mike Gerber
a769d89d0a
🎨 Rename test_modstool → test_mod4pandas
1 year ago
Mike Gerber
5238c0600b
Merge branch 'master' of https://github.com/qurator-spk/mods4pandas
1 year ago
Mike Gerber
7def0bccaf
🎨 Reformat test METS/MOTS files (to make them easier to read)
1 year ago
Gerber, Mike
100b2a5e6c
🐛 Fix mods:relatedItem with mods:recordIdentifier source=dnb-ppn
...
mods:relatedItem may have a mods:recordIdentifier with source="dnb-ppn".
This may happen for digitized works that have their original work in
another library and use a DNB PPN there.
Fixes gh-22.
2 years ago
Mike Gerber
4e7b8ed642
✨ Convert mods:relatedItem for types original and host
...
Fixes gh-21.
2 years ago
Gerber, Mike
6d8ba871eb
🎨 Fix link to CircleCI project
3 years ago
Gerber, Mike
1dfdacc5a5
🎨 Rename the Python package to mods4pandas
3 years ago
Gerber, Mike
9c0dce7a04
🎨 Rename modstool to mods4pandas in the last code parts
3 years ago
Gerber, Mike
03d2fc9670
🎨 Rename qurator.modstool to qurator.mods4pandas
3 years ago
Gerber, Mike
3c2e59f0ed
🎨 Rename qurator.modstool to qurator.mods4pandas
3 years ago
Gerber, Mike
1d2c5e2d10
🎨 Rename modstool.py to mods4pandas.py
3 years ago
Gerber, Mike
c48084de93
➡️ Rename modstool script to mods4pandas
3 years ago
Gerber, Mike
3121621e14
📝 README: Fix typo
3 years ago
Gerber, Mike
83befba3ab
📝 README: Fix markdown
3 years ago
Gerber, Mike
f507370729
📝 README: Add some documentation for alto4pandas
3 years ago
Gerber, Mike
6f2265a619
✔️ Add test data
3 years ago
Gerber, Mike
c803ce0907
✨ Count all alto:String elements with TAGREFS attribute
3 years ago
Gerber, Mike
a40716a320
✨ ALTO: Count alto:Tags
3 years ago
Gerber, Mike
de50f13043
🚧 alto4pandas: Determine ALTO namespace for group
3 years ago
Gerber, Mike
53a8db955c
🐛 Consistently use lxml for etree
3 years ago
Gerber, Mike
a2fb3ee387
Merge branch 'feat/alto'
3 years ago
Gerber, Mike
21f906ec7d
✨ Rename altotool to alto4pandas
...
See gh-15.
3 years ago
Gerber, Mike
3d2e53f739
✨ ALTO: Extract namespace == ALTO version
3 years ago
Gerber, Mike
8285bdb423
🚧 ALTO: Calculate more descriptive statistics for String@WC
3 years ago
Gerber, Mike
aa4e8e290d
🚧 ALTO: Move xpath_statistics to TagGroup class
3 years ago
Gerber, Mike
9246519162
🚧 ALTO: Extract a function to calculate statistics on xpath expressions
3 years ago
Gerber, Mike
e24a846ea2
🚧 ALTO: Calculate mean of String@WC
3 years ago
Gerber, Mike
9b3db1cd1d
✨ ALTO: Support more ALTO versions
3 years ago
Gerber, Mike
937e7d74eb
✨ ALTO: Support more ALTO versions
3 years ago
Gerber, Mike
4bb3379ab1
🐛 Use tqdm's write() instead of logging during scanning
3 years ago