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

DM Smith dmsmith555 at yahoo.com
Tue Oct 25 15:25:59 MST 2005

In the current module
Gen 1.1 is:
<w lemma="x-Strongs:H07225">In the beginning</w> <w 
lemma="x-Strongs:H0430">God</w> <w morph="x-StrongsMorph:TH8804" 
lemma="x-Strongs:H0853|x-Strongs:H01254">created</w> <w 
lemma="x-Strongs:H08064">the heaven</w> <w 
lemma="x-Strongs:H0853">and</w> <w lemma="x-Strongs:H0776">the earth</w>.

Rev 22:21 is:
<w src="3" lemma="x-Strongs:G3588" morph="x-Robinson:T-GSM"></w><w 
src="1" lemma="x-Strongs:G3588" morph="x-Robinson:T-NSF"></w><w src="2" 
lemma="x-Strongs:G5485" morph="x-Robinson:N-NSF">The grace</w> <w 
src="5" lemma="x-Strongs:G2257" morph="x-Robinson:P-1GP">of our</w> <w 
src="4" lemma="x-Strongs:G2962" morph="x-Robinson:N-GSM">Lord</w> <w 
src="6" lemma="x-Strongs:G2424" morph="x-Robinson:N-GSM">Jesus</w> <w 
src="7" lemma="x-Strongs:G5547" morph="x-Robinson:N-GSM">Christ</w> 
<transChange changeType="added">be</transChange> <w src="8" 
lemma="x-Strongs:G3326" morph="x-Robinson:PREP">with</w> <w src="10" 
lemma="x-Strongs:G5216" morph="x-Robinson:P-2GP">you</w> <w src="9" 
lemma="x-Strongs:G3956" morph="x-Robinson:A-GPM">all.</w> <w src="11" 
lemma="x-Strongs:G281" morph="x-Robinson:HEB">Amen.</w><p/> <resp 
type="strongsMarkup" name="pdy" date="2003-01-19-19:40"/>

Chris Little wrote:

> 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.
> --Chris
> 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
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list