<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">I don’t know what it really does either.<div><br></div><div>If the osis module has <seg .*type=“(x-)?morph”.*>, it should have the option and not otherwise.<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Mar 26, 2025, at 12:43 AM, Peter von Kaehne <refdoc@gmx.net> wrote:</div><br class="Apple-interchange-newline"><div><div><div dir="ltr">If that is an error, it may well precede Dominique’s versions but is likely something I have introduced when I conceived the whole automatic module making process including confmaker.pl. </div><div dir="ltr"><br></div><div dir="ltr">I think - and I admit that here - I suffered then and now - under a sense of clarity about this particular feature. </div><div id="ms-outlook-mobile-body-separator-line" dir="ltr"><br></div><div id="ms-outlook-mobile-signature">Sent from <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div><div> </div><hr style="display: inline-block; width: 98%;"><div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif;"><b>From:</b> sword-devel <sword-devel-bounces@crosswire.org> on behalf of David Haslam <dfhdfh@protonmail.com><br><b>Sent:</b> Tuesday, March 25, 2025 9:17 pm<br><b>To:</b> sword-devel mailing list <sword-devel@crosswire.org><br><b>Subject:</b> Re: [sword-devel] Support for morph segmentation in front-ends?</span><div style="font-family: Calibri, sans-serif;"> </div></div><div dir="ltr"><br></div><div dir="auto">I suspect an error in Dom’s conf maker script accounts for the filter’s presence in CPDV.</div><div dir="ltr"><br></div><div dir="auto">Those seg elements shown in bold are unrelated to morph segmentation.</div><div dir="ltr"><br></div><div dir="auto">Not every seg element has that function!</div><div dir="ltr"><br></div><div dir="auto">I was once told that one JSword based app (STEP Bible?) supports morpheme segmentation and does so by displaying odd and even segments in two different colours.</div><div dir="ltr"><br></div><div dir="auto">That’s what might make sense for an Ancient Hebrew module such as the WLC.</div><div dir="ltr"><br></div><div dir="auto">I could envisage a use for the same filter for Bible translations in languages with a writing system that has no space between [most] words, though we don’t yet have a fully fledged example of one with suitable OSIS markup.</div><div dir="ltr"><br></div><div dir="auto">David</div><div dir="ltr"><br></div><div dir="ltr"><br></div>On Tue, Mar 25, 2025 at 20:30, Karl Kleinpaste <<a href="mailto:On Tue, Mar 25, 2025 at 20:30, Karl Kleinpaste <<a href=">karl@kleinpaste.org</a>> wrote:<blockquote><div class="moz-cite-prefix">
 David Haslam wrote:
<br> 
</div><blockquote><div class="protonmail_quote">
 Might Xiphos be enhanced to implement this in future?
</div></blockquote><div class="protonmail_quote"><br> 
<span style="font-family: FreeSerif;">I currently see 3 modules that claim this:<br><br> </span>
<span style="font-family: monospace;">cpdv.conf:GlobalOptionFilter=OSISMorphSegmentation<br>hinerv.conf:GlobalOptionFilter=OSISMorphSegmentation<br>turntb.conf:GlobalOptionFilter=OSISMorphSegmentation</span>
<span style="font-family: FreeSerif;"><br> </span>
<br> 
<span style="font-family: FreeSerif;">All Xiphos can do is turn on the option so that whatever Sword does, re: rendering of that option, will happen. Xiphos provides that via context menu → Module Options → Morpheme Segmentation.</span>
<br> 
<br> 
<span style="font-family: FreeSerif;">Xiphos uses XHTML filters. diatheke shows that the engine doesn't render <seg> content in normal output:</span>
<br> 
<br> 
<span style="font-family: monospace;">mod2imp CPDV | grep -A1 'Genesis 1:1$'<br>$$$Genesis 1:1<br><div type="x-milestone" subType="x-preverse" sID="pv1"/><title type="x-description">God creates Heaven and Earth, and all things therein, in six days.</title> <div eID="gen6" type="introduction"/> <div sID="gen7" type="x-p"/><div type="x-milestone" subType="x-preverse" eID="pv1"/>In the beginning, God created heaven and earth.<note placement="foot"><reference osisRef="Gen.1.1" type="annotateRef">1:1</reference>Heaven was created first, then earth. The creation of angels also occurred with the creation of heaven. The creation of earth is really the creation of the universe, and subsequently earth.<<b>seg</b> type="x-usfm-fl">(Conte)</<b>seg</b>></note><div eID="gen7" type="x-p"/></span>
<br> 
<br> 
<span style="font-family: monospace;">diatheke -b CPDV -o M -f xhtml -k g.1.1<br><html><head><meta http-equiv="content-type" content="text/html" charset="UTF-8" lang="en" xml:lang="en"/><br><style type="text/css">        .divineName { font-variant: small-caps; }<br>        .wordsOfJesus { color: red; }<br>        .transChange { font-style: italic; }<br>        .transChange.transChange-supplied { font-style: italic; }<br>        .transChange.transChange-added { font-style: italic; }<br>        .transChange.transChange-tenseChange::before { content: '*'; }<br>        .transChange.transChange-tenseChange { font-style: normal; }<br>        .transChange:lang(zh) { font-style: normal; text-decoration: dotted underline; }<br>        .overline { text-decoration: overline; }<br>        .indent1 { margin-left: 1em; }<br>        .indent2 { margin-left: 2em; }<br>        .indent3 { margin-left: 3em; }<br>        .indent4 { margin-left: 4em; }<br>        abbr { &:hover{ &:before{ content: attr(title); } } }<br>        .small-caps { font-variant: small-caps; }<br>        .otPassage { font-variant: small-caps; }<br>        .selah { text-align: right; width: 50%; margin: 0; padding: 0; }<br>        .acrostic { text-align: center; }<br>        .colophon {font-style: italic; font-size: small; display: block; }<br>        .rdg { font-style: italic; }<br>        .inscription {font-variant: small-caps; }<br>        .catchWord {font-style: bold; }<br>        .x-p-indent {text-indent: 1em; }<br>    </style></head><body>Genesis 1:1: <span style="font:Gentium;" >In the beginning, God created heaven and earth.<br /><br></span><br /><br>(CPDV)<br></body></html></span>
<br> 
<br> 
<span style="font-family: FreeSerif;">I don't know what a frontend is supposed to do with it. I see no content as delivered, and I see no indication of a footnote-style tag marker that would say a UI could do something more with tags.</span>
</div></blockquote></div>_______________________________________________<br>sword-devel mailing list: sword-devel@crosswire.org<br>http://crosswire.org/mailman/listinfo/sword-devel<br>Instructions to unsubscribe/change your settings at above page<br></div></blockquote></div><br></div></body></html>