Last active
March 3, 2017 17:38
-
-
Save benosteen/2519c6232b055e56235e1a51cbac51ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for xmlfile in `find OCR -name *xml` | |
do | |
echo "Processing `basename $xmlfile`" | |
mkdir -p text/`dirname ${xmlfile#OCR/}` | |
xsltproc --output text/${xmlfile#OCR/}.txt alto2txt.xslt $xmlfile | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment