[sword-devel] OSIS abbr element and indexing/searching

Arnaud Vié unas.zole+avie at gmail.com
Wed Mar 19 20:35:37 EDT 2025


DM, that's a very good point, I agree that the use of abbr in this
situation is appropriate.
But we shouldn't really be choosing between representing it as an
abbreviation or as a name : it's both. It's the abbreviation of a name.
So the way of carrying the full semantic information is to use both tags
(abbr inside name - so that expanding abbr would result in a properly
annotated name).

Ex: For <name type="x-nomen-sacra"><abbr expansion=“God”>Gd</abbr></name>
so loved the world


Le dim. 16 mars 2025 à 18:11, David Haslam <dfhdfh at protonmail.com> a écrit :

> I second that motion!
>
>
>
> On Sun, Mar 16, 2025 at 16:44, DM Smith <dmsmith at crosswire.org
> <On+Sun,+Mar+16,+2025+at+16:44,+DM+Smith+%3C%3Ca+href=>> wrote:
>
> Recently we had a discussion regarding nomina sacra, which is a Greek New
> Testament manuscript abbreviation for sacred names. It is going back and
> forth what is the appropriate markup: Name element or abbreviation element
> for semantic markup and/or using the highlight element, hi, with overline.
> It was noted that overline is supported in SWORD but not JSword.
>
> I’d like to suggest that if the expansion element is present that it is
> indexed/searched at the same position as the text.
>
> Example, pretend this is Greek:
> For <abbr expansion=“God” type=“nomina-sacra">Gd</abbr> so loved the world
> Then a search for the exact phrase
> “God so loved the world”
> would return the verse.
>
> Not indexing/searching the expansion wouldn’t find God in the verse.
>
> Having it at the same position is necessary for exact phrase search.
>
> In Him,
> DM Smith
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250320/3cf8f2fa/attachment-0001.htm>


More information about the sword-devel mailing list