Troy,
I am starting to implement the definite article merge. But I have a question as to the your instructions. See below.
DM

Troy A. Griffitts wrote:
NT: Articles: All simple definite articles are left as empty tags in the verses. The logic was that in English we have both an indefinite and definite article, whereas Greek only as a definite article:

      a house       OIKOS
    the house    hO OIKOS

So, for consistency, English nouns were tagged the same whether they had a definite article in Greek, or were anartherous. The desired output would be something like:

TR: <w src="1">hO</w><w src="2">OIKOS</w>
KJV: <w src="1 2">the house</w>

Currently it is:
<w src="1"></w> <w src="2">the house</w>


I think the correcting script logic is something like:

    Do I have an empty tag with strongs 3588 (article)
Is morphology of <w src="[mysource]+1"> begin with "N-" (noun) and equal in other respects to my morphology?
            combine src numbers and drop the empty tag.

What do you mean by "equal in other respects to my morphology"?

Lets take the following example of Hebrews 1:1
<w src="6" lemma="strong:G2316" morph="robinson:N-NSM">God, who</w>
<w src="1" lemma="strong:G4181" morph="robinson:ADV">at sundry times</w>
<w src="2" lemma="strong:G2532" morph="robinson:CONJ">and</w>
<w src="3" lemma="strong:G4187" morph="robinson:ADV">in divers manners</w>
<w src="7" lemma="strong:G2980" morph="robinson:V-AAP-NSM">spake</w>
<w src="4" lemma="strong:G3819" morph="robinson:ADV">in time past</w>
<w src="9" lemma="strong:G3962" morph="robinson:N-DPM">unto the fathers</w>
<w src="10" lemma="strong:G1722" morph="robinson:PREP">by</w>
<w src="12" lemma="strong:G4396" morph="robinson:N-DPM">the prophets</w>,
<w src="5" lemma="strong:G3588" morph="robinson:T-NSM"></w>
<w src="8" lemma="strong:G3588" morph="robinson:T-DPM"></w>
<w src="11" lemma="strong:G3588" morph="robinson:T-DPM"></w>
<milestone type="x-strongsMarkup" resp="bcn 2002-11-22-10:13"/>

Here we have 3 empty G3588 tags.
So do you mean that I regard the NSM and DPM to make a match?

So would this then become:
<w src="5 6" lemma="strong:G3588 strong:G2316" morph="robinson:T-NSM robinson:N-NSM">God, who</w>
<w src="1" lemma="strong:G4181" morph="robinson:ADV">at sundry times</w>
<w src="2" lemma="strong:G2532" morph="robinson:CONJ">and</w>
<w src="3" lemma="strong:G4187" morph="robinson:ADV">in divers manners</w>
<w src="7" lemma="strong:G2980" morph="robinson:V-AAP-NSM">spake</w>
<w src="4" lemma="strong:G3819" morph="robinson:ADV">in time past</w>
<w src="8 9" lemma="strong:G3588 strong:G3962" morph="robinson:T-DPM robinson:N-DPM">unto the fathers</w>
<w src="10" lemma="strong:G1722" morph="robinson:PREP">by</w>
<w src="11 12" lemma="strong:G3588 strong:G4396" morph="robinson:T-DPM robinson:N-DPM">the prophets</w>,

Note, I am maintaining src, lemma and morph as parallel arrays.

Thanks,
   DM


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to