Re: [sword-devel] Roman Numerals to Arabic

2019-10-14 Thread Michael H
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

Re: [sword-devel] Roman Numerals to Arabic

2019-10-14 Thread Troy A. Griffitts
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

Re: [sword-devel] Roman Numerals to Arabic

2019-10-14 Thread David Haslam
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, ta

[sword-devel] Roman Numerals to Arabic

2019-10-14 Thread Don Elbourne
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 Expos