Re: [sword-devel] Strong's numbers: Numbers or strings

2022-01-27 Thread Karl Kleinpaste
No worries... On 1/27/22 12:53 PM, Troy A. Griffitts wrote: Yes, you are correct, we don't yet have an inverse solution, but we could add one by using the same strongsPad function during the lemma search or lemma index creation. Yes, my deeper problem is that the search needs to match, style-

Re: [sword-devel] Strong's numbers: Numbers or strings

2022-01-27 Thread Troy A. Griffitts
Dear Karl, I also just realized I answered the inversion of your question. You are not attempting to go from Bible to Lexicon, but from Lexicon to Bible. I am sorry for not taking more time to think about your example. Yes, you are correct, we don't yet have an inverse solution, but we could ad

Re: [sword-devel] Strong's numbers: Numbers or strings

2022-01-27 Thread Troy A. Griffitts
Hi Karl, Yes, this history of how to record Strong's numbers has a long and inglorious history.  The zero prefix was how the "Online Bible", from which came most free online Bible resources back in the 1980s, recorded Hebrew Strong's.  The Bible Foundation (the primary initial provider of dat

Re: [sword-devel] Strong's numbers: Numbers or strings

2022-01-27 Thread Fr Cyrille
Le 27/01/2022 à 17:33, pierre amadio a écrit : Fixing this for the OSHB module should be trivial. Let me know if you want me to do it. You mean directly on OSHB? This is a possibility. All module "just" add a zero in the good place... On Thu, 27 Jan 2022 at 17:20, Fr Cyrille wrote: Le 27

Re: [sword-devel] Strong's numbers: Numbers or strings

2022-01-27 Thread pierre amadio
Fixing this for the OSHB module should be trivial. Let me know if you want me to do it. On Thu, 27 Jan 2022 at 17:20, Fr Cyrille wrote: > > > > Le 27/01/2022 à 15:07, David Haslam a écrit : > > What Karl has observed is a long-standing problem. > > Might it be feasible to employ a suitable regula

Re: [sword-devel] Strong's numbers: Numbers or strings

2022-01-27 Thread Fr Cyrille
Le 27/01/2022 à 15:07, David Haslam a écrit : What Karl has observed is a long-standing problem. Might it be feasible to employ a suitable regular expression to match the Strong’s H number whether or not it has any leading zero[s]? This would have to be done under the hood for this type of

Re: [sword-devel] Strong's numbers: Numbers or strings

2022-01-27 Thread John Dudeck
Why not just add a normalization method to Sword? Ie. if the numeric reference starts with '0', pad it out to 5 digits? John Dudeck > > What Karl has observed is a long-standing problem. > > Might it be feasible to employ a suitable regular _expression_ to match the Strong’s H number > whe

[sword-devel] Strong's numbers: Numbers or strings

2022-01-27 Thread Karl Kleinpaste
I have a Xiphos bug in which the facility to take a Strong's dict entry and search the Bible module for all its occurrences sometimes works and sometimes doesn't. The mechanism is straightforward: Take the key from the dict pane, note whether t