<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I have no idea. I can read and write C++, but it’s been over 20 years since I did it on a regular basis. I’m not interested in trying to decipher the code or what Chris L. had in mind. Just glancing at the code it says it pertains to WLC and it has Morph and Segmentation in the name. That’s quite a clue.<div class=""><br class=""></div><div class="">The code has a construct I’ve seen wrt to footnotes and strongs numbers, though I don’t what it does or how it is used. (within a verse buf is set to 1 for the first seg and 2 for the next and so on. tagText is the text content of the seg element.)</div><div class=""><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">module->getEntryAttributes()["Morpheme"][buf]["body"] = tagText;</pre><div class=""><div class="">If it parallels footnotes, strongs, … then perhaps it is a numerical superscript that when clicked on brings up the segment. I don’t think that makes sense. Unless someone can make sense of it, I don’t think it’s worthy of documenting in the wiki.</div><div class=""><br class=""></div><div class="">Perhaps the following is a clue. It is the content of Genesis 1:1.</div><div class=""><w><seg type="x-morph">בְּ</seg><seg type="x-morph">רֵאשִׁ֖ית</seg></w> <w><seg type="x-morph">בָּרָ֣א</seg></w> <w><seg type="x-morph">אֱלֹהִ֑ים</seg></w> <w><seg type="x-morph">אֵ֥ת</seg></w> <w><seg type="x-morph">הַ</seg><seg type="x-morph">שָּׁמַ֖יִם</seg></w> <w><seg type="x-morph">וְ</seg><seg type="x-morph">אֵ֥ת</seg></w> <w><seg type="x-morph">הָ</seg><seg type="x-morph">אָֽרֶץ׃</seg></w></div><div class=""><br class=""></div><div class="">It appears that each w (aka word) is made up of one or more seg (segments). Each segment is marked as x-morph. While I took 7 credits of Biblical Hebrew, I don’t remember a lick of it. I’m guessing that a segment is part of the word that has meaning on its own.</div><div class=""><br class=""></div><div class="">DM</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 29, 2017, at 5:14 PM, David Haslam <<a href="mailto:dfhdfh@protonmail.com" class="">dfhdfh@protonmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I know it's still the holiday season, yet I would still like to have it explained what is the <u class="">difference in output</u> that we should see when the <b class="">OSISMorphSegmentation</b> filter is applied. <br class=""></div><div class=""><br class=""></div><div class="">There are modules which have this specified in the .conf file, yet I've not seen any discernable difference in what (e.g.) <b class="">Xiphos</b> displays when this module option is ticked.<br class=""></div><div class=""><i class="">Is that too much to ask?</i><br class=""></div><div class=""><br class=""></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div class="">Best regards,<br class=""></div><div class=""><br class=""></div><div class="">David<br class=""></div></div><div class=""><br class=""></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com/" class="">ProtonMail</a> Secure Email.<br class=""></div></div><div class=""><br class=""></div><blockquote class="protonmail_quote" type="cite"><div class="">-------- Original Message --------<br class=""></div><div class="">Subject: Re: [sword-devel] OSISMorphSegmentation<br class=""></div><div class="">Local Time: 26 December 2017 12:10 PM<br class=""></div><div class="">UTC Time: 26 December 2017 12:10<br class=""></div><div class="">From: <a href="mailto:dfhdfh@protonmail.com" class="">dfhdfh@protonmail.com</a><br class=""></div><div class="">To: sword-devel mailing list <<a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a>><br class=""></div><div class=""><br class=""></div><div class="">All very well if you're a C++ programmer, but "as clear as mud" to those like me that aren't. <br class=""></div><div class=""><br class=""></div><div class="">What exactly is the intended difference in output with the filter enabled?<br class=""></div><div class=""><br class=""></div><div class="">Where segments of a Hebrew word are in different seg elements, what
should I expect to see at the locations where the OSIS has <b class=""></seg><seg.+></b> ?<br class=""></div><div class=""><br class=""></div><div class="">Does the filter insert a space or some other character as a <b class="">separator</b> between consecutive segments?<br class=""></div><div class=""><br class=""></div><div class="">Best regards,<br class=""></div><div class=""><br class=""></div><div class="">David<br class=""></div><div class=""><br class=""></div><div class="">Sent from <a href="https://protonmail.com/" class="">ProtonMail</a> Secure Email.<br class=""></div><div class=""><br class=""></div><blockquote type="cite" class="protonmail_quote"><div class="">-------- Original Message --------<br class=""></div><div class="">Subject: Re: [sword-devel] OSISMorphSegmentation<br class=""></div><div class="">Local Time: 25 December 2017 3:16 PM<br class=""></div><div class="">UTC Time: 25 December 2017 15:16<br class=""></div><div class="">From: <a href="mailto:dmsmith@crosswire.org" class="">dmsmith@crosswire.org</a><br class=""></div><div class="">To: David Haslam <<a href="mailto:dfhdfh@protonmail.com" class="">dfhdfh@protonmail.com</a>>, SWORD Developers' Collaboration Forum <<a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a>><br class=""></div><div class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">All of the filters are in the folder </span><a href="http://www.crosswire.org/svn/sword/trunk/src/modules/filters/" class="">http://www.crosswire.org/svn/sword/trunk/src/modules/filters/</a><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Each filter has a corresponding file who’s name is in lowercase with the extension of cpp.</span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">See: <a href="http://www.crosswire.org/svn/sword/trunk/src/modules/filters/osismorphsegmentation.cpp" class="">http://www.crosswire.org/svn/sword/trunk/src/modules/filters/osismorphsegmentation.cpp</a></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">From the code:</span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">SWFilter descendant to toggle splitting of</span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">morphemes (for morpheme segmented Hebrew in</span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">the WLC)</span><br class=""></div><div class=""><div class=""><br class=""></div><blockquote type="cite" class=""><div class="">On Dec 25, 2017, at 9:23 AM, David Haslam <<a href="mailto:dfhdfh@protonmail.com" class="">dfhdfh@protonmail.com</a>> wrote:<br class=""></div><div class=""><br class=""></div><div class=""><div class="">I want to update the wiki page for <a href="https://crosswire.org/wiki/OSIS_Bibles#Marking_morpheme_segmentation" title="https://crosswire.org/wiki/OSIS_Bibles#Marking_morpheme_segmentation" rel="nofollow" class="">OSIS Bibles</a>.<br class=""></div><div class=""><br class=""></div><div class="">Please would some one explain exactly what is looked for in the OSIS XML for SWORD to actually filter something in the module for <br class=""></div><div class=""><br class=""></div><div class=""><b class="">GlobalOptionFilter=OSISMorphSegmentation</b><br class=""></div><div class=""><br class=""></div><div class=""><i class="">We seemed to have overlooked the documentation requirements since I first enquired almost 4 years ago</i>.<br class=""></div><div class=""><br class=""></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div class="">Best regards,<br class=""></div><div class=""><br class=""></div><div class="">David<br class=""></div></div><div class=""><br class=""></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com/" class="">ProtonMail</a> Secure Email.<br class=""></div></div><div class=""><br class=""></div><div class="">_______________________________________________<br class=""></div><div class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class=""></div><div class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" class="">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br class=""></div><div class="">Instructions to unsubscribe/change your settings at above page<br class=""></div></div></blockquote></div></blockquote><div class=""><br class=""></div></blockquote><div class=""><br class=""></div>_______________________________________________<br class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" class="">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br class="">Instructions to unsubscribe/change your settings at above page</div></blockquote></div><br class=""></div></div></div></body></html>