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

Chris Little chrislit at crosswire.org
Tue Oct 25 13:19:02 MST 2005

You're using an old, incomplete version of the KJV module. Please update 
to the version currently on the site. It should fix all your problems.


John Walther wrote:
> 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>
> be <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
> word.
> John

More information about the sword-devel mailing list