[sword-devel] Osis: what is a valid lemma attribute in a w node ?

pierre amadio amadio.pierre at gmail.com
Tue Jan 26 14:11:42 EST 2021


Hi there !

I am still trying to build a module (LXX), and although i think i
managed to get something working, i do not know how to correctly
organise all the information i have in the <w> node.

For each words, i have access to the word as it appears in the text, a
transliteration in ascii, the lemmas the word is made out of, and
sometimes an associated greek strong number.

I fail to understand how to organise all of that.

Based on the example i had, I try the following  (I choose Gen 1.2
because it has also contains word with multiple 'lex' elements)

      <w lemma="strong:G2018 lex:φέρω, ἐπι" morph="packard:V1I IMI3S"
xlit="betacode:E)PEFE/RETO">ἐπεφέρετο</w>

full verse is:

<verse osisID="Gen.1.2">
      <w lemma="strong:G3588 lex:ὁ" morph="packard:RA NSF"
xlit="betacode:H(">ἡ</w>
      <w lemma="strong:G1161 lex:δέ" morph="packard:X"
xlit="betacode:DE\">δὲ</w>
      <w lemma="strong:G1093 lex:γῆ" morph="packard:N1 NSF"
xlit="betacode:GH=">γῆ</w>
      <w lemma="strong:G2258 lex:εἰμί" morph="packard:V9 IAI3S"
xlit="betacode:H)=N">ἦν</w>
      <w lemma="strong:G517 lex:ἀόρατος" morph="packard:A1B NSM"
xlit="betacode:A)O/RATOS">ἀόρατος</w>
      <w lemma="strong:G2532 lex:καί" morph="packard:C"
xlit="betacode:KAI\">καὶ</w>
      <w lemma="ἀκατασκεύαστος" morph="packard:A1B NSM"
xlit="betacode:A)KATASKEU/ASTOS">ἀκατασκεύαστος</w>
      <w lemma="strong:G2532 lex:καί" morph="packard:C"
xlit="betacode:KAI\">καὶ</w>
      <w lemma="strong:G4655 lex:σκότος" morph="packard:N3E NSN"
xlit="betacode:SKO/TOS">σκότος</w>
      <w lemma="strong:G1883 lex:ἐπάνω" morph="packard:P"
xlit="betacode:E)PA/NW">ἐπάνω</w>
      <w lemma="strong:G3588 lex:ὁ" morph="packard:RA GSF"
xlit="betacode:TH=S">τῆς</w>
      <w lemma="strong:G12 lex:ἄβυσσος" morph="packard:N2 GSF"
xlit="betacode:A)BU/SSOU">ἀβύσσου</w>
      <w lemma="strong:G2532 lex:καί" morph="packard:C"
xlit="betacode:KAI\">καὶ</w>
      <w lemma="strong:G4151 lex:πνεῦμα" morph="packard:N3M NSN"
xlit="betacode:PNEU=MA">πνεῦμα</w>
      <w lemma="strong:G2316 lex:θεός" morph="packard:N2 GSM"
xlit="betacode:QEOU=">θεοῦ</w>
      <w lemma="strong:G2018 lex:φέρω, ἐπι" morph="packard:V1I IMI3S"
xlit="betacode:E)PEFE/RETO">ἐπεφέρετο</w>
      <w lemma="strong:G1883 lex:ἐπάνω" morph="packard:P"
xlit="betacode:E)PA/NW">ἐπάνω</w>
      <w lemma="strong:G3588 lex:ὁ" morph="packard:RA GSN"
xlit="betacode:TOU=">τοῦ</w>
      <w lemma="strong:G5204 lex:ὕδωρ" morph="packard:N3T GSN"
xlit="betacode:U(/DATOS">ὕδατος</w>
    </verse>

This generate extra information with diatheke when i use the plain
output format:

/usr/local/sword/bin/diatheke -b LXX  -f plain -k Genesis 1:2
Genesis 1:2:  η <Hο> δε <Hδε> γη <Hγη> ην <Hειμι> αορατος <Hαορατος>
και <Hκαι> ακατασκευαστος και <Hκαι> σκοτος <Hσκοτος> επανω <Hεπανω>
της <Hο> αβυσσου <Hαβυσσος> και <Hκαι> πνευμα <Hπνευμα> θεου <Hθεος>
επεφερετο <Hφερω,> επανω <Hεπανω> του <Hο> υδατος <Hυδωρ>
(LXX)

Am I missing something in the module .conf file ?
Is there a way to include all those information without confusing frontends ?
How can i understand  how a valid lemma attribute is supposed to look like ?


More information about the sword-devel mailing list