[sword-devel] OSHB 2.1: valid content for the lemma attribute ?

pierre amadio amadio.pierre at gmail.com
Fri Dec 25 10:04:17 EST 2020


Hi there !

There is a new version (2.1) of the OSHB module available since a
couple of days in the CrossWire Beta repository.

I experience some change in the output regarding strongs number.
Consider the first word of genesis:

diatheke -b OSHB -o avlmn -f OSIS -k Genesis 1:1

Version 1.4 gives:
<w lemma="strong:H07225" morph="oshm:HR/Ncfsa" n="1.0">בְּרֵאשִׁית</w>

2.1 now gives:
<w lemma="strong:Hb strong:H7225" morph="oshm:HR/Ncfsa">בְּרֵאשִׁית</w>

Why is there now two instances of strong in the lemma attribute ?

According to
https://wiki.crosswire.org/OSIS_Bibles

Several strong id can exist, but i doubt "Hb" is a valid number.

##########
The <w> element is used to surround the text that is represented by
the Strong's number. It may be that the text is a phrase and it may be
that more than one Strong's number defines the text.

When more than one Strong's number defines the text, each must be
prefixed with a workID and must be separated from each other by a
space. (While OSIS allows for the defining of default workIDs, SWORD
requires that the workIDs be used.)

The actual Strong's Number should indicate whether it is Hebrew (H) or
Greek (G) followed by the number. The number may be 0 padded up to 5
digits as in H00001.
###########

Does someone has any clue as to what is happening here ?


More information about the sword-devel mailing list