<div dir="ltr"><div>Below a couple of files that do the conversion:</div><div><br></div><div><a href="https://github.com/tyndale/step/blob/master/step-tools/src/main/java/com/tyndalehouse/step/tools/osis/OHBParser.java">https://github.com/tyndale/step/blob/master/step-tools/src/main/java/com/tyndalehouse/step/tools/osis/OHBParser.java</a><br>
</div><div><a href="https://github.com/tyndale/step/blob/master/step-tools/src/main/resources/com/tyndalehouse/step/tools/osis/ohb_parser.xsl">https://github.com/tyndale/step/blob/master/step-tools/src/main/resources/com/tyndalehouse/step/tools/osis/ohb_parser.xsl</a><br>
</div><div><br></div><div>I think the only dependency on the Java front is Apache Commons File Utils.</div><div><br></div><div>The process is quite simple:</div><div><ul><li>Takes 2 arguments: a source directory + a output file<br>
</li><li>Reads in the first file</li><li>Appends anything other than "header" from all other files</li><li>Runs the XSLT</li></ul></div><div>I decided to strip out the prefixes/lemmas that were not numbers. Feel free to use the code, change it, etc. I'm pretty sure it's right, but please let me know if you spot some issues with it.</div>
<div><br></div><div>Thanks for the help on this.</div><div>Chris</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 July 2013 19:08, <span dir="ltr"><<a href="mailto:davidtroidl@aol.com" target="_blank">davidtroidl@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font color="black" face="arial">
<div><font style="background-color:transparent" face="Arial, Helvetica, sans-serif">The files are there to stay. A module is just an added benefit to SWORD users. Daniel Owens produced the module in the first place, and he would be up on what it would take to redo it. Now that alternate v11n has been adopted, I would assume it could be prepared by just adjusting the lemma attributes. If I remember correctly, SWORD requires strong: as a prefix to Strong lemmas, and the augment lemmas (a, b, etc.) could either be left as is, or given an aug: prefix, to distinguish them. Though we do also have prefixes in the lemma, like b/7225. I'm not sure what would be done with these. To just get a module going, you could drop that part of the lemma for now. The name of the module should be OSHB.</font></div>
<span class="HOEnZb"><font color="#888888">
<div> </div>
<div>David</div></font></span><div><div class="h5">
<div></div>
<div></div>
<div style="font-size:10pt;font-family:arial,helvetica">-----Original Message-----<br>
From: Chris Burrell <<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>><br>
To: SWORD Developers' Collaboration Forum <<a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>><br>
Sent: Sun, Jul 14, 2013 4:04 am<br>
Subject: Re: [sword-devel] OSMHB module<br>
<br>
<div>
<div dir="ltr">Thanks David. A few of extra questions:
<div><br>
<div>- 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"?</div>
<div>- How does one go about making the new OHB module?</div>
<div><br>
</div>
<div><br>
</div>
<div>Chris</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 14 July 2013 01:55, David Troidl <span dir="ltr"><<a href="mailto:DavidTroidl@aol.com" target="_blank">DavidTroidl@aol.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div bgcolor="#FFFFFF" text="#000000">
The slashes are morphological divisions. They come from the
Westminster Hebrew Institute, through Chris Kimball, at <a href="http://www.tanach.us/Tanach.xml#Home" target="_blank">http://www.tanach.us/Tanach.xml#Home</a><br>
<br>
The OSMHB is an older module. Work has continued on the OSHB, our
updated version, at<br>
<a href="https://github.com/openscriptures/morphhb" target="_blank">https://github.com/openscriptures/morphhb</a><br>
No one has gotten around to updating the module, though.<span><font color="#888888"><br>
<br>
David</font></span>
<div>
<div><br>
<br>
<div>On 7/13/2013 12:10 PM, Chris Burrell
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi
<div><br>
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.</div>
<div><br>
</div>
<div>Below is 2 Chronicles 25:14. The second last 'w' has a
forward slash in it. </div>
<div><br>
</div>
<div><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> <b><w>וְלָ/הֶ֥ם</w></b>
<w lemma="strong:H6999">יְקַטֵּֽר</w><seg
type="x-sof-pasuq">׃</seg></verse></div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<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.<br>
</div>
<div><br>
</div>
<div>Chris</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<div><pre>_______________________________________________
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</div>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div>
<br>
</div>
</div>
<div style="font-size:12px;font-family:Tahoma,Verdana,Arial,Sans-Serif;margin:0px">
<pre style="font-size:9pt"><tt>_______________________________________________
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page
</tt></pre>
</div>
</div>
</div></div></font></blockquote></div><br></div>