This is a major refactoring of the Théâtre Classique to Dracor (tc2dracor) transformation process with the goal of decoupling the retrieval of the sources and the actual transformation as well as making the overall process more flexible. There are the following significant changes:
The transformation script does not deal with obtaining the original sources any more. This part has been moved to the theatre-classique repo.
The XQuery code (tc2dracor.xq) has been reduced to transforming a single source document to the DraCor TEI structure. Most of the control flow has been moved to the bash script (tc2dracor) with added command line options for ease of use. This turns out to be a huge performance boost, so much so that I can now transform the entire corpus on a single database thread in less than 4min!
The validation part has been moved to a separate script (validate) that can actually be used to validate other corpora as well.
As a next step of improving the transformation result, the author information has been consolidated and matched to the various spellings and forms in the source documents.
This is a major refactoring of the Théâtre Classique to Dracor (tc2dracor) transformation process with the goal of decoupling the retrieval of the sources and the actual transformation as well as making the overall process more flexible. There are the following significant changes:
tc2dracor.xq
) has been reduced to transforming a single source document to the DraCor TEI structure. Most of the control flow has been moved to the bash script (tc2dracor
) with added command line options for ease of use. This turns out to be a huge performance boost, so much so that I can now transform the entire corpus on a single database thread in less than 4min!validate
) that can actually be used to validate other corpora as well.