Gerber, Mike
9c0dce7a04
🎨 Rename modstool to mods4pandas in the last code parts
2 years ago
Gerber, Mike
03d2fc9670
🎨 Rename qurator.modstool to qurator.mods4pandas
2 years ago
Gerber, Mike
3c2e59f0ed
🎨 Rename qurator.modstool to qurator.mods4pandas
2 years ago
Gerber, Mike
1d2c5e2d10
🎨 Rename modstool.py to mods4pandas.py
2 years ago
Gerber, Mike
c48084de93
➡️ Rename modstool script to mods4pandas
2 years ago
Gerber, Mike
3121621e14
📝 README: Fix typo
2 years ago
Gerber, Mike
83befba3ab
📝 README: Fix markdown
2 years ago
Gerber, Mike
f507370729
📝 README: Add some documentation for alto4pandas
2 years ago
Gerber, Mike
6f2265a619
✔️ Add test data
2 years ago
Gerber, Mike
c803ce0907
✨ Count all alto:String elements with TAGREFS attribute
2 years ago
Gerber, Mike
a40716a320
✨ ALTO: Count alto:Tags
2 years ago
Gerber, Mike
de50f13043
🚧 alto4pandas: Determine ALTO namespace for group
2 years ago
Gerber, Mike
53a8db955c
🐛 Consistently use lxml for etree
2 years ago
Gerber, Mike
a2fb3ee387
Merge branch 'feat/alto'
2 years ago
Gerber, Mike
21f906ec7d
✨ Rename altotool to alto4pandas
...
See gh-15.
2 years ago
Gerber, Mike
3d2e53f739
✨ ALTO: Extract namespace == ALTO version
2 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
Gerber, Mike
6a549968b5
🐛 Produce a text attribute even if the attribute has no value
3 years ago
Gerber, Mike
c85356bd23
✨ ALTO: Support more ALTO versions
3 years ago
Gerber, Mike
c91c9b1714
✨ ALTO: preProcessingStep/processingAgency/sourceImageInformation etc.
3 years ago
Gerber, Mike
01326050d3
✨ ALTO: Handle PermissionErrors
3 years ago
Gerber, Mike
10b8023dd6
✨ ALTO: Count Layout/Page/* elements
3 years ago
Gerber, Mike
1c62085612
✨ ALTO: Count Layout/Page/* elements
3 years ago
Gerber, Mike
c9737683b1
✨ ALTO: Add Layout/Page's attribute values
3 years ago
Gerber, Mike
102b15ffa9
🧹 Do not duplicate ALTO metadata
3 years ago
Gerber, Mike
6e2e0bd67a
🐛 Fix imports
3 years ago
Gerber, Mike
e86369e76d
🚧 Add support for ALTO Description
3 years ago
Gerber, Mike
08082d5fe8
✨ Support mods:partName
...
Fixes gh-6.
3 years ago
Gerber, Mike
9227575555
🎨 Improve log/output a bit
3 years ago
Gerber, Mike
db79960ba1
✨ Force singleton for shelfLocator
...
Very few input sources contain multiple mods:shelfLocator elements
for a mods:Location (illegal according to DFG MODS Anwendungsprofil).
Force a singleton in this case.
Fixes gh-7.
3 years ago
Gerber, Mike
d35032067a
🐛 Fix install on Python 3.10
...
I couldn't build pandas 1.0.5 (introduced as a Pickle compatibility measure in e65cad7
)
for Python 3.10. So update to the next minor version 1.1.x to have it work on Python 3.10.
Fixes gh-11.
3 years ago
Gerber, Mike
2ff15f3497
Merge branch 'master' of https://github.com/qurator-spk/modstool
3 years ago
Gerber, Mike
e65cad772d
🐛 Require pandas ~ 1.0 to fix import
3 years ago
Gerber, Mike
f9e418c460
✨ Optionally output to an Excel .xlsx file
3 years ago
Gerber, Mike
0a9a66c2cc
✨ Optionally output to a CSV file
...
Resolves gh-9.
3 years ago
Gerber, Mike
840045a54a
⚙️ Add VSCode settings
3 years ago
Gerber, Mike
86d1154638
✔️ Add METS tests
3 years ago
Gerber, Mike
f7c51d127d
⚙️ Add .editorconfig
3 years ago
Gerber, Mike
ad2b0a1d9b
🧹 .gitignore
3 years ago
Gerber, Mike
9a8f7f69bd
🐛 Handle multiple mods:role
3 years ago
Gerber, Mike
75ff143a25
🐛 modstool: Fix handling multiple <mods:language>
...
There may be multiple <mods:language> tags with mods:languageTerm children,
that should be merged into one language_languageTerm column
3 years ago
Gerber, Mike
5c48541dee
✔️ CircleCI: - Python 3.5 + Python 3.10
3 years ago
Gerber, Mike
73333ea2e2
⚡ Include METS fileGrp counts
3 years ago
Gerber, Mike
2399699990
✔️ CircleCI: Use non-deprecated "next-gen Docker convenience image"
3 years ago