[sword-devel] KJV Genesis 24:67

Mmital mitalmanu at hotmail.com
Wed Jun 21 04:46:30 MST 2006


Hello,

So i tried the lookup.cpp code with KJV 2006, but it seems like I would need to make some modifications to the code to lookup the entry attributes in KJV2006. 

Ofcourse, if everything works right in the first try, it would violate the law of conservation of sorrow :)

But coming back to my original question, can anyone provide me hints on how to build up a complete verse by adding up blocks of texts provided by getEntryAttributes function? This function only provides me with the text inside the <w> tags, ignoring the text between </transChange> tags. Ofcourse, its easy if I am not dealing with strong's numbers or morphological tags within the KJV module, then I would just use pModule->SetKey() and  pModule->RenderText() functions.

Thanks.
mmital


  ----- Original Message ----- 
  From: DM Smith 
  To: SWORD Developers' Collaboration Forum 
  Sent: Sunday, June 11, 2006 8:07 AM
  Subject: Re: [sword-devel] KJV Genesis 24:67


  Could you provide a little more information? Which tool is the "lookup tool?"


  The output does not look like the tool is reporting anything that is outside of <w> elements.


  I'm working on fixing the KJV module as it has some encoding problems and some missing 's. Would you check to see if the new module has the same problem.


  You can get a beta of it here:


  www.crosswire.org/~dmsmith/kjv2006


  Just follow the links at the bottom of the page.


  (This beta has only one known problem and that is with the last verse of every book. Some frontends ignore the problem.)






  On Jun 11, 2006, at 1:31 AM, Mmital wrote:


    Hi,

    The lookup tool in Genesis 24:67 gives the following output:

    Genesis 24:67:
    <w lemma="x-Strongs:H03327">And Isaac</w> <w morph="x-StrongsMorph:TH8686" lemma="x-Strongs:H0935">brought her</w> <w lemma="x-Strongs:H0517">into his mother</w> <w lemma="x-Strongs:H08283">Sarah'</w> <w lemma="x-Strongs:H0168">tent</w>, <w morph="x-StrongsMorph:TH8799" lemma="x-Strongs:H03947">and took</w> <w lemma="x-Strongs:H07259">Rebekah</w>, <w lemma="x-Strongs:H0802">and she became his wife</w>; <w morph="x-StrongsMorph:TH8799" lemma="x-Strongs:H0157">and he loved</w> <w lemma="x-Strongs:H03327">her: and Isaac</w> <w morph="x-StrongsMorph:TH8735" lemma="x-Strongs:H05162">was comforted</w> <w lemma="x-Strongs:H0310">after</w> <w lemma="x-Strongs:H0517">his mother'</w> <transChange type="added">death</transChange> .<milestone type="x-p" />
    ==========================
    Entry Attributes:

    [ Word ]
     [ 001 ]
      Lemma = H03327
      LemmaClass = strong
      Text = And Isaac
     [ 002 ]
      Lemma = H0935
      LemmaClass = strong
      Morph = TH8686
      MorphClass = x-StrongsMorph
      Text = brought her
     [ 003 ]
      Lemma = H0517
      LemmaClass = strong
      Text = into his mother
     [ 004 ]
      Lemma = H08283
      LemmaClass = strong
      Text = Sarah'
     [ 005 ]
      Lemma = H0168
      LemmaClass = strong
      Text = tent
     [ 006 ]
      Lemma = H03947
      LemmaClass = strong
      Morph = TH8799
      MorphClass = x-StrongsMorph
      Text = and took
     [ 007 ]
      Lemma = H07259
      LemmaClass = strong
      Text = Rebekah
     [ 008 ]
      Lemma = H0802
      LemmaClass = strong
      Text = and she became his wife
     [ 009 ]
      Lemma = H0157
      LemmaClass = strong
      Morph = TH8799
      MorphClass = x-StrongsMorph
      Text = and he loved
     [ 010 ]
      Lemma = H03327
      LemmaClass = strong
      Text = her: and Isaac
     [ 011 ]
      Lemma = H05162
      LemmaClass = strong
      Morph = TH8735
      MorphClass = x-StrongsMorph
      Text = was comforted
     [ 012 ]
      Lemma = H0310
      LemmaClass = strong
      Text = after
     [ 013 ]
      Lemma = H0517
      LemmaClass = strong
      Text = his mother'



    The last block of text should be "his mother's death". When using a HTML filter to display the text in the browser (with both lemma and morphological tags on), the word 'death' is lost.


    _______________________________________________
    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




------------------------------------------------------------------------------


  _______________________________________________
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/sword-devel/attachments/20060621/a95d8c56/attachment.html 


More information about the sword-devel mailing list