Skip to content

Commit

Permalink
Merge pull request #33 from karl-kraus/32-better-denormalization-script
Browse files Browse the repository at this point in the history
32 better denormalization script
  • Loading branch information
csae8092 committed Jun 20, 2024
2 parents 97e0dbc + 08ab11f commit cd59cb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions process_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ add-attributes -g "./data/meta/*.xml" -b "https://id.acdh.oeaw.ac.at/legalkraus"
add-attributes -g "./data/topics/*.xml" -b "https://id.acdh.oeaw.ac.at/legalkraus"

echo "denormalize indices in objects"
denormalize-indices -f "./data/editions/D_*.xml" -i "./data/indices/*.xml" -m ".//@*[contains(., '#pmb')]" -x ".//tei:titleStmt/tei:title[1]/text()" -b pmb11988
denormalize-indices -f "./data/editions/D_*.xml" -i "./data/indices/*.xml" -m ".//@*[contains(., '#pmb') or contains(., '#lk_fackel__') or contains(., '#legal-')]" -x ".//tei:titleStmt/tei:title[1]/text()" -b pmb11988

echo "remove listevents in back elements"
python rm_listevent.py

echo "write mentions into listlegal.xml"
python listlegal.py
# echo "write mentions into listlegal.xml"
# python listlegal.py

echo "create cases-json"
python create_case_index.py
Expand Down

0 comments on commit cd59cb4

Please sign in to comment.