Re: Support for morph segmentation in front-ends?
DM Smith <[email protected]> Tue, 25 Mar 2025 15:34:49 -0400
| Newsgroups | gmane.comp.literature.sword.devel |
|---|---|
| Message-ID | <[email protected]> |
From the source documentation: This filters toggles splitting of morphemes (for morpheme segmented Hebrew in the WLC). So this seems to be a module specific filter. The filter, https://crosswire.org/sword/apiref/osismorphsegmentation_8cpp_source.html, It governs how <seg type=“morph”>segmented text</seg> is handled (or type=“x-morph”) It seems that the “segmented text” is copied into: module->getEntryAttributes()["Morpheme"][buf]["body"] = tagText; where buf is position of the <seg> in the verse, starting at 1 and tagText is <seg>segmented text</seg> (with no attribute). If the option is to hide then <seg> and </seg> are not output. There is no toggle. > On Mar 25, 2025, at 11:06 AM, David Haslam <dfhdfh-g/[email protected]> wrote: > > Does any SWORD front-end app include support for this ? > > GlobalOptionFilter=OSISMorphSegmentation > > Might Xiphos be enhanced to implement this in future? > > The SWORD engine knows about it, yet AFAICT, it effects no change in displayed text. > > What it ought to do was once suggested by someone at STEP Bible. > > Alternate segments should display in different colours. > > I’m currently working on a Bible text where this might prove beneficial. > > Best regards, > > David > > _______________________________________________ > sword-devel mailing list: [email protected] > http://crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: [email protected] http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page