Chris,

I made the original module, I believe. I tried to strip out all of the forward slashes, but clearly I missed some. I am sorry for that.

I do not recall why I did not use <seg> to separate morph segments in the module, though my guess is that I wanted to keep it simple. If I recall correctly, David and I discussed the issue of using <seg> in the wlc files on Github, and he preferred to leave things as-is.

As for making a module, since we are working on the morphological analysis (and I am busy with a new semester starting tomorrow), I probably will not have time to work on it for awhile. It would be nice to have an updated module, but looking forward it would be nice to have a simple script to:

1. Combine the XML files from the wlc subfolder on Github into a single OSIS file.

2. Strip "/" within words or convert the divisions into <seg> elements.

3. Prepare @lemma for SWORD, which basically involves adding "strong:H" before each Strong's number. Also, instead of the slash between lemma, there should be a space. To take the first word in Gen 1:1 as an example (with @morph in light of the forthcoming morphology):

    <w lemma="b/7225" morph="HR/Ncfsa">בְּ/רֵאשִׁ֖ית</w>

should become:

    <w lemma="strong:Hb strong:H7225" morph="HR HN>בְּרֵאשִׁ֖ית</w>

or, using <seg>:

    <w lemma="strong:Hb strong:H7225" morph="HR HN><seg>בְּ</seg><seg>רֵאשִׁ֖ית</seg></w>

Caution: I have not tested how the front-ends handle <seg>. I really have no idea what they would do with it, that is, if they would do the same as my email client has done and placed the preposition in the wrong place.

Anyway, I believe that is what is involved. If you (or anyone else) develops a script to deal with this, I would love to have it so we can put it on Github for future use. I know it is super simple, but my XSLT skills have to be relearned every time I work on a project such as this, so if someone gave me a simple script to combine the XML files into a single XML file, I could take it from there.

Daniel

On 7/14/13 4:01 PM, Chris Burrell wrote:
Thanks David. A few of extra questions:

- It looks from the files under the wlc folder that they are there to stay. Or do they get ripped out upon module creation? Is there a reason why they are not using "seg"?
- How does one go about making the new OHB module?


Chris



On 14 July 2013 01:55, David Troidl <davidtro...@aol.com> wrote:
The slashes are morphological divisions.  They come from the Westminster Hebrew Institute, through Chris Kimball, at http://www.tanach.us/Tanach.xml#Home

The OSMHB is an older module.  Work has continued on the OSHB, our updated version, at
https://github.com/openscriptures/morphhb
No one has gotten around to updating the module, though.

David


On 7/13/2013 12:10 PM, Chris Burrell wrote:
Hi

I'm looking at the Hebrew text, and I'm seeing some forward slashes. Can someone help me understand if this is a module issue or the slash means something.

Below is 2 Chronicles 25:14. The second last 'w' has a forward slash in it. 

<div><title type="x-gen">2 Chronicles 25:14</title><verse osisID="2Chr.25.14"><w lemma="strong:H1961">וַיְהִ֗י</w> <w lemma="strong:H0310">אַחֲרֵ֨י</w> <w lemma="strong:H0935">ב֤וֹא</w> <w lemma="strong:H0558">אֲמַצְיָ֙הוּ֙</w> <w lemma="strong:H5221">מֵֽהַכּ֣וֹת</w> <w lemma="strong:H0853">אֶת</w><seg type="x-maqqef">־</seg><w lemma="strong:H0130">אֲדוֹמִ֔ים</w> <w lemma="strong:H0935">וַיָּבֵ֗א</w> <w lemma="strong:H0853">אֶת</w><seg type="x-maqqef">־</seg><w lemma="strong:H0430">אֱלֹהֵי֙</w> <w lemma="strong:H1121">בְּנֵ֣י</w> <w lemma="strong:H8165">שֵׂעִ֔יר</w> <w lemma="strong:H5975">וַיַּֽעֲמִידֵ֥ם</w> <w>ל֖וֹ</w> <w lemma="strong:H0430">לֵאלֹהִ֑ים</w> <w lemma="strong:H6440">וְלִפְנֵיהֶ֥ם</w> <w lemma="strong:H7812">יִֽשְׁתַּחֲוֶ֖ה</w> <w>וְלָ/הֶ֥ם</w> <w lemma="strong:H6999">יְקַטֵּֽר</w><seg type="x-sof-pasuq">׃</seg></verse></div>


This also occurs in other places ( for example, 1Chr.11.24; 12.19;). Interestingly, the times I'm seeing a /, are also the times when no strong numbers have been coded against it.

Chris



_______________________________________________
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


_______________________________________________
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



_______________________________________________
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



_______________________________________________
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