<div>Thanks everyone for each "pearl of wisdom".<br></div><div><br></div><div>It wasn't that I didn't understand what Hebrew morpheme <b>segmentation</b> is.<br></div><div><i>That's pretty evident from examining the content of the modules concerned.</i><br></div><div><br></div><div>Nor was it that I am unfamiliar with use of the <b>seg</b> element in OSIS XML.<br></div><div><i>I've been using OSIS for long enough to have seen this many times.</i><br></div><div><br></div><div>My concern is that we have a listed filter that either seems to <u>do nothing</u></div><div>or that the module[s] where it's specified <u>do not match</u> what the filter expects.<br></div><div><br></div><div>Neither scenario is good. <br></div><div><br></div><div> Recently, I've been looking at the <a href="https://github.com/openscriptures/morphhb" title="https://github.com/openscriptures/morphhb" rel="nofollow">openscriptures/morphhb</a> project on GitHub. <br></div><div><u>Aside</u>: I even issued a pull request yesterday.<br></div><div>btw. Some of the team members are known to us.<br></div><div><br></div><div>They have adopted a simpler method to separate morpheme segments.<br></div><div>They just use a <b>solidus</b> as a separator character within the Hebrew word, e.g.<br></div><div>&lt;w lemma="b/7225" n="1.0" morph="HR/Ncfsa"&gt;<b>בְּ/רֵאשִׁ֖ית</b>&lt;/w&gt;<br></div><div>That's fine in the raw XML but it would look very odd to a Hebrew reader.<br></div><div><br></div><div>When the openscriptures team gets round to rebuilding the <b>OSHB</b> module, we require a filter that works.<br></div><div>It need not look for the OSIS feature that doesn't seem to have any effect in our <i>defective</i> <b>WLC</b> module.<br></div><div><br></div><div>My proposal would be to provide a simple mechanism in SWORD to <u>hide</u> or <u>display</u> a specified <b>marker</b>.<br></div><div><br></div><div>Their present OSIS files could be converted to replace each solidus in the Hebrew text to the following XML element.<br></div><div>&lt;milestone type="x-mss" marker="/" /&gt;<br></div><div><i>The type attribute proposed is merely an abbreviation for "morpheme segment separator".</i><br></div><div><br></div><div>We already have something like this in SWORD.<br></div><div>When the KJV module switches to paragraphs, the <b>Pilcrow</b> signs disappear.<br></div><div>They are coded as milestone markers.<br></div><div><br></div><div>We could generalise the concept by having a filter called<br></div><div><b>GlobalOptionFilter=OSISMilestoneMarker</b><br></div><div><br></div><div>Who knows how many further good uses it might find?<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div>Best regards,<br></div><div><br></div><div>David<br></div></div><div><br></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com">ProtonMail</a> Secure Email.<br></div></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div>-------- Original Message --------<br></div><div>Subject: Re: [sword-devel] OSISMorphSegmentation<br></div><div>Local Time: 30 December 2017 12:03 AM<br></div><div>UTC Time: 30 December 2017 00:03<br></div><div>From: scribe@crosswire.org<br></div><div>To: sword-devel@crosswire.org<br></div><div><br></div><div><div>A few brief points:<br></div><div> &nbsp;<br></div><div> The logs have this as the initial commit:<br></div><div> &nbsp;<br></div><div> commit ecaac871e4fa607a32d81f1049e928795db4eaa1<br></div><div> Author: chrislit <a href="mailto:chrislit@bcd7d363-81e1-0310-97ec-a550e20fc99c">chrislit@bcd7d363-81e1-0310-97ec-a550e20fc99c</a><br></div></div><h2><div>Date:&nbsp;&nbsp; Wed Jan 11 19:45:21 2006 +0000<br></div><div> &nbsp;<br></div><div> &nbsp;&nbsp;&nbsp; added OSISMorphSegmentation files (from BibleTime) to repository;<br></div><div> not integrated into projects/make system yet<br></div><div> &nbsp;&nbsp;&nbsp;&nbsp;<br></div><div> &nbsp;&nbsp;&nbsp; git-svn-id: <a href="https://crosswire.org/svn/sword/trunk@1884">https://crosswire.org/svn/sword/trunk@1884</a><br></div><div> bcd7d363-81e1-0310-97ec-a550e20fc99c<br></div><div> &nbsp;<br></div></h2><h1><div>Maybe the BibleTime team can lend a little info on the original intent.<br></div><div> &nbsp;<br></div></h1><div><div>&nbsp;<br></div><div> I did a little work on it 7 years ago:<br></div><div> &nbsp;<br></div><div> commit 0eda5565f50a1a6b22b4b96e147e81b04e88b859<br></div><div> Author: scribe <a href="mailto:scribe@bcd7d363-81e1-0310-97ec-a550e20fc99c">scribe@bcd7d363-81e1-0310-97ec-a550e20fc99c</a><br></div></div><div><div>Date:&nbsp;&nbsp; Mon Apr 14 16:22:11 2014 +0000<br></div><div> &nbsp;<br></div><div> &nbsp;&nbsp;&nbsp; fixed osismorphsegmentation to look for both type=morph and x-morph<br></div><div> &nbsp;&nbsp;&nbsp; fixed close seg to check inMorph before processing &lt;/seg&gt; as close morph<br></div></div><h2><div>&nbsp;&nbsp;&nbsp;&nbsp;<br></div><div> &nbsp;&nbsp;&nbsp; git-svn-id: <a href="https://crosswire.org/svn/sword/trunk@3153">https://crosswire.org/svn/sword/trunk@3153</a><br></div><div> bcd7d363-81e1-0310-97ec-a550e20fc99c<br></div></h2><h1><div>... which I believe was in reference to Daniel Owen's work with the WHM<br></div><div> database:<br></div><div> &nbsp;<br></div><div> <a href="http://crosswire.org/~dowens76/swordweb/parallelstudy.jsp?add=KJV&amp;add=WHM&amp;key=Gen.1.1">http://crosswire.org/~dowens76/swordweb/parallelstudy.jsp?add=KJV&amp;add=WHM&amp;key=Gen.1.1</a><br></div><div> &nbsp;<br></div></h1><div><div>&nbsp;<br></div><div> &nbsp;<br></div><div> &nbsp;<br></div><div> &nbsp;<br></div><div> &nbsp;<br></div><div> &nbsp;<br></div><div> On 12/29/2017 04:34 PM, Tom Sullivan wrote:<br></div></div><blockquote><div>DM:<br></div><div>There may be a terminology problem here.<br></div><div><div>Re:<br></div><div> &lt;seg type="x-morph"&gt;הַ&lt;/seg&gt;<br></div><div> The letter He is used as the definite article and it is prepended to<br></div><div> the word. Example using English, L to R: "The Land" would be He-Eretz.<br></div></div><div><div>Hebrew also appends pronounimal suffixes, so perhaps those are<br></div><div> segments as well. The pronounimal suffixes also have meaning on their<br></div><div> own.<br></div></div><div><div>Highly inflected languages can be a bear for English speakers, so it<br></div><div> would make some sense to parse out the word. I am no Hebrew scholar<br></div><div> and cannot recall all of the exact terminology that should be used.<br></div></div><div><div>We could use some help here from someone whose Hebrew is fresh in<br></div><div> their mind. Correct terminology and a bit more explanation on all of<br></div><div> these kind of options would help.<br></div></div><div><div>All of us who are programmers should take heed from this issue. One<br></div><div> should not have to decipher code to know about the inputs and outputs.<br></div></div><div>Tom<br></div><h2><div>Tom Sullivan<br></div><div> <a href="mailto:info@BeForgiven.INFO">info@BeForgiven.INFO</a><br></div><div> FAX: 815-301-2835<br></div></h2><div><div>Great News!<br></div><div> God created you, owns you and gave you commands to obey.<br></div><div> You have disobeyed God - as your conscience very well attests to you.<br></div><div> God's holiness and justice compel Him to punish you in Hell.<br></div><div> Jesus Christ became Man, was crucified, buried and rose from the dead<br></div><div> as a substitute for all who trust in Him, redeeming them from Hell.<br></div><div> If you repent (turn from your sin) and believe (trust) in Jesus Christ,<br></div><div> you will go to Heaven. Otherwise you will go to Hell.<br></div><div> Warning! Good works are a result, not cause, of saving trust.<br></div><div> More info is at <a href="http://www.esig.beforgiven.info">www.esig.beforgiven.info</a><br></div><div> Do you believe this? Copy this signature into your email program<br></div><div> and use the Internet to spread the Great News every time you email.<br></div></div><div>On 12/29/2017 06:12 PM, DM Smith wrote:<br></div><blockquote><div><div>I have no idea. I can read and write C++, but it’s been over 20 years<br></div><div> since I did it on a regular basis. I’m not interested in trying to<br></div><div> decipher the code or what Chris L. had in mind. Just glancing at the<br></div><div> code it says it pertains to WLC and it has Morph and Segmentation in<br></div><div> the name. That’s quite a clue.<br></div></div><div><div>The code has a construct I’ve seen wrt to footnotes and strongs<br></div><div> numbers, though I don’t what it does or how it is used. (within a<br></div><div> verse buf is set to 1 for the first seg and 2 for the next and so on.<br></div><div> tagText is the text content of the seg element.)<br></div></div><div>module-&gt;getEntryAttributes()["Morpheme"][buf]["body"] = tagText;<br></div><div><div>If it parallels footnotes, strongs, … then perhaps it is a numerical<br></div><div> superscript that when clicked on brings up the segment. I don’t think<br></div><div> that makes sense. Unless someone can make sense of it, I don’t think<br></div><div> it’s worthy of documenting in the wiki.<br></div></div><div><div>Perhaps the following is a clue. It is the content of Genesis 1:1.<br></div><div> &lt;w&gt;&lt;seg type="x-morph"&gt;בְּ&lt;/seg&gt;&lt;seg<br></div><div> type="x-morph"&gt;רֵאשִׁ֖ית&lt;/seg&gt;&lt;/w&gt; &lt;w&gt;&lt;seg<br></div><div> type="x-morph"&gt;בָּרָ֣א&lt;/seg&gt;&lt;/w&gt; &lt;w&gt;&lt;seg<br></div><div> type="x-morph"&gt;אֱלֹהִ֑ים&lt;/seg&gt;&lt;/w&gt; &lt;w&gt;&lt;seg<br></div><div> type="x-morph"&gt;אֵ֥ת&lt;/seg&gt;&lt;/w&gt; &lt;w&gt;&lt;seg type="x-morph"&gt;הַ&lt;/seg&gt;&lt;seg<br></div><div> type="x-morph"&gt;שָּׁמַ֖יִם&lt;/seg&gt;&lt;/w&gt; &lt;w&gt;&lt;seg<br></div><div> type="x-morph"&gt;וְ&lt;/seg&gt;&lt;seg type="x-morph"&gt;אֵ֥ת&lt;/seg&gt;&lt;/w&gt; &lt;w&gt;&lt;seg<br></div><div> type="x-morph"&gt;הָ&lt;/seg&gt;&lt;seg type="x-morph"&gt;אָֽרֶץ׃&lt;/seg&gt;&lt;/w&gt;<br></div></div><div><div>It appears that each w (aka word) is made up of one or more seg<br></div><div> (segments). Each segment is marked as x-morph. While I took 7 credits<br></div><div> of Biblical Hebrew, I don’t remember a lick of it. I’m guessing that<br></div><div> a segment is part of the word that has meaning on its own.<br></div></div><div>DM<br></div><blockquote><div><div>On Dec 29, 2017, at 5:14 PM, David Haslam &lt;<a href="mailto:dfhdfh@protonmail.com">dfhdfh@protonmail.com</a><br></div><div> <a href="mailto:dfhdfh@protonmail.com">mailto:dfhdfh@protonmail.com</a>&gt; wrote:<br></div></div><div><div>I know it's still the holiday season, yet I would still like to have<br></div><div> it explained what is the <i>difference in output</i> that we should see<br></div><div> when the <i>OSISMorphSegmentation</i> filter is applied.<br></div></div><div><div>There are modules which have this specified in the .conf file, yet<br></div><div> I've not seen any discernable difference in what (e.g.) <i>Xiphos</i><br></div><div> displays when this module option is ticked.<br></div><div> /Is that too much to ask?/<br></div></div><div>Best regards,<br></div><div>David<br></div><div>Sent with ProtonMail <a href="https://protonmail.com/">https://protonmail.com/</a> Secure Email.<br></div><blockquote><div><div>-------- Original Message --------<br></div><div> Subject: Re: [sword-devel] OSISMorphSegmentation<br></div><div> Local Time: 26 December 2017 12:10 PM<br></div><div> UTC Time: 26 December 2017 12:10<br></div><div> From: <a href="mailto:dfhdfh@protonmail.com">dfhdfh@protonmail.com</a> <a href="mailto:dfhdfh@protonmail.com">mailto:dfhdfh@protonmail.com</a><br></div><div> To: sword-devel mailing list &lt;<a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></div><div> <a href="mailto:sword-devel@crosswire.org">mailto:sword-devel@crosswire.org</a>&gt;<br></div></div><div><div>All very well if you're a C++ programmer, but "as&nbsp;clear as mud"&nbsp;to<br></div><div> those like me that aren't.<br></div></div><div><div>What exactly is the intended difference in output with the filter<br></div><div> enabled?<br></div></div><div><div>Where segments of a Hebrew word are in different seg elements, what<br></div><div> should I expect to see at the locations where the OSIS has<br></div><div> <i>&lt;/seg&gt;&lt;seg.+&gt;</i> ?<br></div></div><div><div>Does the filter insert a space or some other character as a<br></div><div> <i>separator</i> between consecutive segments?<br></div></div><div>Best regards,<br></div><div>David<br></div><div>Sent from ProtonMail <a href="https://protonmail.com/">https://protonmail.com/</a> Secure Email.<br></div><blockquote><div><div>-------- Original Message --------<br></div><div> Subject: Re: [sword-devel] OSISMorphSegmentation<br></div><div> Local Time: 25 December 2017 3:16 PM<br></div><div> UTC Time: 25 December 2017 15:16<br></div><div> From: <a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a> <a href="mailto:dmsmith@crosswire.org">mailto:dmsmith@crosswire.org</a><br></div><div> To: David Haslam &lt;<a href="mailto:dfhdfh@protonmail.com">dfhdfh@protonmail.com</a><br></div><div> <a href="mailto:dfhdfh@protonmail.com">mailto:dfhdfh@protonmail.com</a>&gt;, SWORD Developers' Collaboration<br></div><div> Forum &lt;<a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a> <a href="mailto:sword-devel@crosswire.org">mailto:sword-devel@crosswire.org</a>&gt;<br></div></div><div><div>All of the filters are in the folder<br></div><div> <a href="http://www.crosswire.org/svn/sword/trunk/src/modules/filters/">http://www.crosswire.org/svn/sword/trunk/src/modules/filters/</a><br></div></div><div><div>Each filter has a corresponding file who’s name is in lowercase<br></div><div> with the extension of cpp.<br></div></div><div><div>See:<br></div><div> <a href="http://www.crosswire.org/svn/sword/trunk/src/modules/filters/osismorphsegmentation.cpp">http://www.crosswire.org/svn/sword/trunk/src/modules/filters/osismorphsegmentation.cpp</a><br></div></div><div><div>From the code:<br></div><div> SWFilter descendant to toggle splitting of<br></div><div> morphemes (for morpheme segmented Hebrew in<br></div><div> the WLC)<br></div></div><blockquote><div><div>On Dec 25, 2017, at 9:23 AM, David Haslam &lt;<a href="mailto:dfhdfh@protonmail.com">dfhdfh@protonmail.com</a><br></div><div> <a href="mailto:dfhdfh@protonmail.com">mailto:dfhdfh@protonmail.com</a>&gt; wrote:<br></div></div><div><div>I want to update the wiki page for OSIS Bibles<br></div><div> <a href="https://crosswire.org/wiki/OSIS_Bibles#Marking_morpheme_segmentation">https://crosswire.org/wiki/OSIS_Bibles#Marking_morpheme_segmentation</a>.<br></div></div><div><div>Please would some one explain exactly what is looked for in the<br></div><div> OSIS XML for SWORD to actually filter something in the module for<br></div></div><div><i>GlobalOptionFilter=OSISMorphSegmentation</i><br></div><div><div>/We seemed to have overlooked the documentation requirements<br></div><div> since I first enquired almost 4 years ago/.<br></div></div><div>Best regards,<br></div><div>David<br></div><div>Sent with ProtonMail <a href="https://protonmail.com/">https://protonmail.com/</a> Secure Email.<br></div><div><hr><br></div><div><div>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></div><div> <a href="mailto:sword-devel@crosswire.org">mailto:sword-devel@crosswire.org</a><br></div><div> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br></div><div> Instructions to unsubscribe/change your settings at above page<br></div></div></blockquote></blockquote></blockquote><div><hr><br></div><div><div>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></div><div> <a href="mailto:sword-devel@crosswire.org">mailto:sword-devel@crosswire.org</a><br></div><div> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br></div><div> Instructions to unsubscribe/change your settings at above page<br></div></div></blockquote><div><hr><br></div><div><div>This email has been scanned by the Symantec Email Security.cloud<br></div><div> service.<br></div><div> For more information please visit <a href="http://www.symanteccloud.com">http://www.symanteccloud.com</a><br></div></div><div><hr><hr><br></div><div><div>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></div><div> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br></div><div> Instructions to unsubscribe/change your settings at above page<br></div></div></blockquote><div><hr><br></div><div><div>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></div><div> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br></div><div> Instructions to unsubscribe/change your settings at above page<br></div></div></blockquote><div><div>&nbsp;<br></div><div> &nbsp;<br></div><div> &nbsp;<br></div></div><div><hr><br></div><div><div>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></div><div> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br></div><div> Instructions to unsubscribe/change your settings at above page<br></div></div></blockquote><div><br></div>