[sword-devel] Marking transChange within a <w> ?

DM Smith dmsmith at crosswire.org
Fri Nov 5 12:02:02 MST 2010

On 11/05/2010 02:35 PM, David Haslam wrote:
> Peter,
> Surely it's not an invariable rule that<w>  marks only a single word?
> Even in the KJV there are places where a single word in the original Hebrew
> or Greek is translated by a phrase rather than a single word.
> And you may be forgetting that<w>  would not be attached to some common
> words such as "his" or "thy".
> The example from Mt 21:31 illustrates one of the 17 instances.
> <w lemma="strong:G3588 strong:G3962" morph="robinson:T-GSM robinson:N-GSM"
> src="8 9">of<seg subType="x-added" type="x-transChange">his</seg>
> father</w>?
> Even so, I take your point. It might be feasible that some of the 17
> instances could be changed to use the recommended markup for transChange. It
> would be cool if all 17 might be switched.
> Before DM responds, you should know that presently I will be reporting a few
> other minor text&  markup issues that need attention in the KJV module.
> David

This is an exellent example of the problem. The KJV in the text has 
"his" in italics to indicate that it is added text.

The <w> is representing G3588: "The" and G3962: "Father". The word G3588 
is not translated in the text so it is part of the lemma, instead of 
being alone.

So the translation of "the father" becomes "of his father".

We could have marked this up in an alternative way that is all over the 
KJV using x-split. While it shows up well in SwordWeb, with hovering on 
one part of the split highlighting all parts of the split, it does not 
show up well in any other frontend.

So it could have been something like (from my poor memory):
<w lemma="strong:G3588 strong:G3962" morph="robinson:T-GSM 
robinson:N-GSM" src="8 9">of</w>
<transChange type="added">his</transChange>
<w lemma="strong:G3588 strong:G3962" morph="robinson:T-GSM 
robinson:N-GSM" src="8 9" type="x-split" subType="x-nn">father</w>

In most frontends if "of" were marked up separately from "father" then 
each would have the same popup indicating "the father".

The value of x-split is for more complicated phrases.

In Him,

More information about the sword-devel mailing list