Re: [sword-devel] Roman Numerals to Arabic
The problem with turning a script like that on globally is that occasionally regular words spell out roman numbers. So, you might have eleven running China if you just let it run amok. David, almost certainly scripture references only run to 150 (151,2?) as every reference I've seen romanizes the chapter, but leaves the verse in arabic. It's following classic outline form: ROMAN, Alpha, roman, arabic, greek, where ROMAN is testament, Alpha is book name, roman is chapter, arabic is verse and greek is subversive, although I see alpha subverses more often than the greek. On Mon, Oct 14, 2019 at 6:23 AM Don Elbourne wrote: > Does anyone have a Roman Numerals to Arabic conversion tool? > > I have a long document where all the scripture references are in Roman > Numerals. I'd love to convert them to more standard Arabic number > references. To do so by hand would take a lifetime. lol > > btw The document is "A Scriptural Exposition of the Baptist Catechism" > and IMHO would be a great module resource in Sword. > > http://www.ourbaptistheritage.org/uploads/8/1/0/2/81023264/benjamin_beddome_a_scriptural_exposition_of_the_baptist_catechism.pdf > > ___ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page > ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] Roman Numerals to Arabic
Dear Don, We have a few old commentaries which use roman numerals as their reference. Our parser understands these and can convert them into OSISRefs, e.g., http://crosswire.org/study/examples/parsevs.jsp?vs=Jn+XVII%3A4 The issue is finding them in the text (as David has pointed out, you don't want to convert 'I' to 1 :) ) If you have the references marked, then our parser can do the conversion for you. Finding and marking all the references might be challenge unless you find some consistent indicator in the text at each reference, or at least a high percentage, e.g. ,a ':' Hoping you make good progress, Troy On 10/14/19 4:22 AM, Don Elbourne wrote: > Does anyone have a Roman Numerals to Arabic conversion tool? > > I have a long document where all the scripture references are in Roman > Numerals. I'd love to convert them to more standard Arabic number > references. To do so by hand would take a lifetime. lol > > btw The document is "A Scriptural Exposition of the Baptist Catechism" > and IMHO would be a great module resource in Sword. > http://www.ourbaptistheritage.org/uploads/8/1/0/2/81023264/benjamin_beddome_a_scriptural_exposition_of_the_baptist_catechism.pdf > > > ___ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page > ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] Roman Numerals to Arabic
Given that the scope of Roman numerals for a Scripture reference is limited to the range of positive integers from 1 to 176, a general conversion algorithm is not strictly necessary. It should suffice to apply a simple replace list filter for whole words matching any of these Roman numerals, taking care to restrict the search to match only the words within a reference or reference range. As Roman numerals in some manuscripts can be either lowercase or uppercase, it’s imperative to avoid matching ordinary words in the text, such as the pronoun ‘I’. Best regards, David Sent from ProtonMail Mobile On Mon, Oct 14, 2019 at 12:22, Don Elbourne wrote: > Does anyone have a Roman Numerals to Arabic conversion tool? > > I have a long document where all the scripture references are in Roman > Numerals. I'd love to convert them to more standard Arabic number > references. To do so by hand would take a lifetime. lol > > btw The document is "A Scriptural Exposition of the Baptist Catechism" > and IMHO would be a great module resource in Sword. > http://www.ourbaptistheritage.org/uploads/8/1/0/2/81023264/benjamin_beddome_a_scriptural_exposition_of_the_baptist_catechism.pdf > > ___ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
[sword-devel] Roman Numerals to Arabic
Does anyone have a Roman Numerals to Arabic conversion tool? I have a long document where all the scripture references are in Roman Numerals. I'd love to convert them to more standard Arabic number references. To do so by hand would take a lifetime. lol btw The document is "A Scriptural Exposition of the Baptist Catechism" and IMHO would be a great module resource in Sword. http://www.ourbaptistheritage.org/uploads/8/1/0/2/81023264/benjamin_beddome_a_scriptural_exposition_of_the_baptist_catechism.pdf ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page