[sword-devel] Question regarding special markup in Psalms and SWModule::stripText
David Haslam
dfhdfh at protonmail.com
Sun Mar 17 09:46:04 MST 2019
The GerSch module was made from an input file that had GBF markup.
It’s not OSIS.
These H tags record the verse references for the original av11n.
The module was made in 2013.
But the source text was from much earlier, 2006.
It might be suitable for rebuilding if we can still obtain the 1951 source text.
There should now be a more suitable v11n than the default KJV that was used in 2006 & 2013.
David
Sent from ProtonMail Mobile
On Sun, Mar 17, 2019 at 16:30, Tobias Klein <contact at tklein.info> wrote:
> Hi,
>
> when working with the German Schlachter Bibel (1951) [GerSch] I noticed
> that there's some special markup in the Psalms:
>
> Ein Psalm Davids, als er vor seinem Sohne Absalom floh.
> <H3-2> Ach, HERR, wie zahlreich sind meine Feinde! Viele stehen wider
> mich auf;
> <H3-3> viele sagen von meiner Seele: «Sie hat keine Hilfe bei Gott.»
> (Pause.)
> <H3-4> Aber du, HERR, bist ein Schild um mich, meine Ehre und der mein
> Haupt emporhebt.
>
> ...
>
> It may be a beginners question - what's the purpose of the <H*-*> markup?
> Is there a filter option in the Sword API that would allow me to not
> show it?
>
> To get the text of the verse I'm using the API function
> SWModule::stripText().
> In the Sword code it says that this function "calls all StripTextFilters
> on current text" and that it returns the "module's text at specified key
> location massaged by Strip filters".
>
> Am I using the right function? Do I have to apply additional filters to
> remove the markup mentioned above?
>
> Best regards,
> Tobias
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190317/49848b2a/attachment.html>
More information about the sword-devel
mailing list