[sword-devel] dictionary (morph) module: formatting ?

David Haslam dfhdfh at protonmail.com
Sat Feb 27 08:26:28 EST 2021


Dictionary modules don’t normally have filters in their conf files. What did you have in mind? The only one I could imagine might be UTF8GreekAccents but that’s at character level.

Your advice is more suitable for Bible modules.

All that’s needed in a dictionary entry is a simple means to format the text.

ThML is quite adequate for this purpose even though it can also be done using either TEI or OSIS fragments.

It’s a very simple structure in a dictionary module. IMP works perfectly well to achieve the required results.

David

Sent from ProtonMail Mobile

On Sat, Feb 27, 2021 at 13:19, refdoc at gmx.net <refdoc at gmx.net> wrote:

> Please do not use or recommend ThML , it's filters are not the most useful. For your request, exporting into the formats lisred a TEI module is your only option.
>
> Peter
>
> Sent from my mobile. Please forgive shortness, typos and weird autocorrects.
>
> -------- Original Message --------
> Subject: Re: [sword-devel] dictionary (morph) module: formatting ?
> From: David Haslam
> To: SWORD Developers' Collaboration Forum
> CC:
>
>> Hi Pierre,
>>
>> Use IMP format with each entry as a snippet of ThML
>>
>> I will send you a link for the IMP file used already.
>>
>> Then we can use imp2ld to make the module.
>>
>> David
>>
>> Sent from ProtonMail Mobile
>>
>> On Sat, Feb 27, 2021 at 12:28, pierre amadio <amadio.pierre at gmail.com> wrote:
>>
>>> Hi there !
>>>
>>> I would like to create a dictionary module for the LXX's morphological code:
>>>
>>> https://github.com/pierre-amadio/packard
>>>
>>> With book module, the Sword engine can render data in raw text and
>>> some other format such as html, LaTeX, ThML, and so on.
>>>
>>> Is that something the Sword engine can also do for dictionary module ?
>>> If not, i plan to make it raw text only.
>>> If it can be done, where can I find an example of osis for such a
>>> module that include formatted text (assuming dictionary are also build
>>> out of osis source) ?
>>> _______________________________________________
>>> 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/20210227/015edf66/attachment-0001.html>


More information about the sword-devel mailing list