Gather the files necessary for this project. All of these can be found on my GitHub Repo, but if you would like to manually download them from their original source, feel free to do so below.
This is a list of things I used in order to complete this project.
NOTE: This step is only if you plan to use the entire ZL3b-n.txt document and not just the herbal section. If you are only using the herbal section, feel free to skip this, as the herbal.txt file already did this for you!
In PyCharm, create a VoynichTEI project if using the VoynichTEI from GitHub, and open replaceAscii.py (located inside the Python directory if using VoynichTEI).
If you are not using the VoynichTEI from GitHub, you may need to change the input and output filenames.
Run the file, and you should now have a ZL3b-n_updated.txt file!
Once you've downloaded the files, OxygenXML Editor, and the installations, go into your Bash shell and go to the VoynichTEI directory (or wherever you downloaded your files)
To get an output on the entire ZL3b-n document, in your shell, type the following:
blitz ixml/translit.ixml transliterationFiles/ZL3b-n_updated.txt > xml/outputXML.xml
If you just want the herbal section instead, type the following:
blitz ixml/translitHerbal.ixml transliterationFiles/herbal.txt > xml/outputXMLherbal.xml
This sends the text documents through the invisible xml file and makes it into an XML file!
Now we need to send the output XML file through an XSLT file. You will need OxygenXML to do this.
Open your outputXML.xml file and the ixmlOut-to-TEI.xsl document in Oxygen.
Switch to the XSLT Debugger Perspective, which is located at the top right of the screen:
In the top left corner, put outputXML.xml in the XML input, and ixmlOut-to-TEI.xsl in the XSL input like so:
When you are ready, put the filepath to where you would like your output file saved. Here, I just wrote outputTEI.xml as an example:
Press the run button:
Now you have it as a proper TEI file!