plottoxml icon indicating copy to clipboard operation
plottoxml copied to clipboard

Transpositions are indistinguishable from transforms

Open Konotorious opened this issue 6 years ago • 1 comments

There are two kinds of characters transformations in lead-ons/ carry-ons in Plotto. You can find both kinds on the lead-ons of clause 1310. One is of the form "647 ch A-5 to A", where character A-5 on 647 is switched with A. (A-5 > A) The other kind, as in the last lead-on, is of the form "818a tr A & A-4" where character A is transposed with character A-4, that is, A is switched with A-4 and A-4 is switched with A. (A-4 <> A) On the Plotto XML both are tagged the same. That is, the latter contains only <transform from="A" to="A-4"></transform> for the transformation.

As I see it, either the transpositions should have a special tag, such as <transpose between="A" and="A-4"></transpose> OR two tags should be used to reflect the bidirectionality

<transform from="A" to="A-4"></transform>
<transform from="A-4" to="A"></transform>

(Otherwise great encoding!)

Konotorious avatar Oct 30 '18 22:10 Konotorious

Oh man, this is a good catch. I don't know how I missed the difference between tr and ch. I would propose that transform be replaced with either change or transpose, reflecting the original's language. Unfortunately, I don't seem to have the original script that I used to parse the HTML from https://github.com/garykac/plotto/blob/gh-pages/plotto-mf.html. One would need to write a script to compare both files and make the appropriate changes to the XML.

eykd avatar Dec 11 '23 05:12 eykd