Closed ctschroeder closed 5 years ago
<revisionDesc>
<change n="%%version_n%%" when="%%version_date%%"></change>
</revisionDesc>
source is not outputting in the respStmt (see previous bible files for examples)
license is not correctly converting; Apa Johannes has a particular license (CC BY-SA 3.0) in a license field, but the license in the TEI export is CC BY 4.0
OK, lots of things here:
OK, 1., 2. and 3. are now done. Note that if there is no translation etc., and in general to avoid embarrassing %%xyz%% in the output, missing metadata is now replaced with 'none'. Does that work?
Thanks for all this!! Comments:
OK, I auto replaced all @
in metadata with _
So that leaves:
<licence target="https://creativecommons.org/licenses/by/4.0/">CC-BY 4.0</licence>
then I need to insert two variable parts: the hyperlink, and the literal name of the license. However the actual value in the data model is as in ANNIS: <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY 4.0</a>
. So moving from one to the other is not currently possible...Fixed values are now supported and the addition of chapter+verse to the schema makes valid TEI generation with divs possible.
I kept finding more things, so I created an issue. I think these are all reasonable and doable. Let me know if there are any problems. I will try to have the Johannes 1-doc corpus ready for you to try today. Maybe also Dirt.
I have been playing around with the following changes by modifying existing docs and seeing if my changes validate. So far, they all should validate.
<title>Apophthegmata Patrum Sahidic 6: anonymous Nau 196</title>
becomes
<title ref="urn:cts:copticLit:ap.6.monbeg">Apophthegmata Patrum Sahidic 6: anonymous Nau 196</title>
lemma converts from lemma (not norm)
add translation to respStmt after annotation, before source
<respStmt>
<resp>annotation</resp>
<name>Christine Luckritz Marquis, Caroline T. Schroeder</name>
</respStmt>
<respStmt>
<resp>translation</resp>
<name>Christine Luckritz Marquis</name>
</respStmt>
chapter_n, verse_n, vid_n added as div's
<div type="chapter" n="1">
<div type="verse" n="1"
<div type="vid" n="urn:cts:copticLit:johannes.canons.monbfa:1.1">
NOTE: in Sahidica, verse layer is named "verse"; in our meeting we discussed new document versification getting the layer name "verse_n". Please let @ctschroeder know if chapter_n, verse_n, vid_n annotation layer names need to change. It looks like the current scriptorium-flavored TEI converter in GitDox converts the "verse" layer to<div n="1">
.p must nest inside div tags listed above in 4. This is a TEI converter issue (p must nest) and a Gitdox validation issue (span of p = verse length if verses exist).