You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| comedy-plaintext | 5 years ago | |
| inferno-xml.d | 5 years ago | |
| paradiso-xml.d | 5 years ago | |
| purgatorio-xml.d | 5 years ago | |
| LICENSE | 5 years ago | |
| README.md | 5 years ago | |
| canticle-to-xml.sh | 5 years ago | |
| terzina-tags.sh | 5 years ago | |
| top-level-tags.sh | 5 years ago | |
| word-tags.sh | 5 years ago | |
README.md
xml-commedia
Storage for XML files used to represent Dante's Divine Comedy.
Plaintext to XML with canticle-to-xml.sh
I used shell scripts to convert plaintext cantos to XML documents with the following format:
<?xml version="1.0" encoding="UTF-8"?>
<canto num="1" num_comm="1">
<terzine>
<terzina num="1">
<word>Nel</word> <word>mezzo</word> <word>del</word> <word>cammin</word> ...
<word>mi</word> <word>ritrovai</word> <word>per</word> <word>una</word> <word>selva</word> ...
<word>che</word> ... <word>smarrita.</word>
</terzina>
...
<terzina num="...">
...
</terzina>
</terzine>
</canto>