[sword-devel] how to get strongs numbers from KJV2003 module?

John Walther djw at reactor-core.org
Tue Oct 25 12:03:09 MST 2005

On Mon, Oct 24, 2005 at 02:55:52PM -0700, Troy A. Griffitts wrote:
>	Your output is incorrect for the KJV module in OSIS format.

Thanks Troy.  Here is the output I get for Genesis1:1

<w lemma="strong:H07225">In the beginning</w> 
<w lemma="strong:H0430">God</w> 
<w lemma="strongMorph:TH8804" morph="x-StrongsMorph:TH8804">created</w> 
<w lemma="strong:H08064">the heaven</w> 
<w lemma="strong:H0853">and</w> 
<w lemma="strong:H0776">the earth</w>.

This looks manageable, except I don't know if strongMorph:TH8804 is
equivalent to strong:H8804 or not; if not, how do I go from strongMorph
to the strong's number?

Now, for Revelation 22:21, this is the output:

<w lemma="robinson:T-GSM" morph="x-Robinson:T-GSM" src="3"></w>
<w lemma="robinson:T-NSF" morph="x-Robinson:T-NSF" src="1"></w>
<w lemma="robinson:N-NSF" morph="x-Robinson:N-NSF" src="2">The grace</w> 
<w lemma="robinson:P-1GP" morph="x-Robinson:P-1GP" src="5">of our</w> 
<w lemma="robinson:N-GSM" morph="x-Robinson:N-GSM" src="4">Lord</w> 
<w lemma="robinson:N-GSM" morph="x-Robinson:N-GSM" src="6">Jesus</w> 
<w lemma="robinson:N-GSM" morph="x-Robinson:N-GSM" src="7">Christ</w>
<w lemma="robinson:PREP" morph="x-Robinson:PREP" src="8">with</w> 
<w lemma="robinson:P-2GP" morph="x-Robinson:P-2GP" src="10">you</w> 
<w lemma="robinson:A-GPM" morph="x-Robinson:A-GPM" src="9">all.</w> 
<w lemma="robinson:HEB" morph="x-Robinson:HEB" src="11">Amen.</w>

I have no idea how to take that output and programmatically convert it
into a strong's number.  It looks like some of the Greek words that have
strong's numbers don't even have representative English words.

I do really like the fact that "added in" words aren't surrounded by <w>
tags; I plan to mark these words in italics and give readers an option
to not have the words show up at all.

To be honest, although strong's numbers are nice, what I really need is
an index into an array of Hebrew and Greek words that are spelled
equivalently to how they are in their original language.

Part of my project is I want to do some research into what happens with
strong's numbers when you strip off the vowel points from Hebrew and
treat all strong's numbers with the same resulting spelling as being one


          It's not true unless it makes you laugh,                           
     but you don't understand it until it makes you weep.

Eukleia: John Walther
Address: 5690 Pioneer Ave, Burnaby, BC  V5H2X6 (Canada)
Contact: 604-430-4973
Website: http://reactor-core.org/
Puritan: Purity of faith, Purity of doctrine
Puritan: Sola Scriptura, Tota Scriptura

      Love is a sharp sword.  Hold it by the right end.

More information about the sword-devel mailing list