[sword-devel] Roman number converter
David Haslam
dfhdfh at protonmail.com
Sun Sep 20 13:12:13 EDT 2020
Aside:
Given that Roman numerals used for chapter numbers never exceed 150 and verse numbers never exceed 176, it suffices to use a lookup table for the required replacements in a Biblical source text.
That’s the approach I have used successfully when faced with this task. As usual for me, it was implemented using DataMystic TextPipe Standard on my Windows PC.
The method requires a whole word search with a restriction to the relevant context pattern for the vernacular scripture references.
Regards,
David
Sent from ProtonMail Mobile
On Sun, Sep 20, 2020 at 17:44, Fr Cyrille <fr.cyrille at tiberiade.be> wrote:
> Le 20/09/2020 à 15:53, Michael H a écrit :
>
>> I do for jedit.
>>
>> https://github.com/Avante-Vangard/Evangard/blob/master/Jedit/Macros/Evangard/AV_Fix_Roman_to_Decimal.bsh
>>
>> It's for circa 1900 scripture references where lower case roman pretty much uniformly represents chapter numbers.
>
> Wow! This is interesting! But can you explain how to use? I'm Ubuntu user.
>
>> On Sun, Sep 20, 2020 at 8:44 AM Fr Cyrille <fr.cyrille at tiberiade.be> wrote:
>>
>>> Hello,
>>> Do you know or have any script to convert roman numbers in a text to
>>> arab numbers?
>>>
>>> _______________________________________________
>>> 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/20200920/01ecabbb/attachment.html>
More information about the sword-devel
mailing list