<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>Hello,</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>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. </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Ofcourse, if everything works right in the first
try, it would violate the law of conservation of sorrow :)</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>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 <FONT color=#000080><w></FONT>
tags, ignoring the text between <FONT color=#000080></transChange>
</FONT><FONT color=#000000>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.</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Verdana size=2>mmital</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dmsmith555@yahoo.com href="mailto:dmsmith555@yahoo.com">DM Smith</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=sword-devel@crosswire.org
href="mailto:sword-devel@crosswire.org">SWORD Developers' Collaboration
Forum</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, June 11, 2006 8:07 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [sword-devel] KJV Genesis
24:67</DIV>
<DIV><BR></DIV>
<DIV>Could you provide a little more information? Which tool is the "lookup
tool?"</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>The output does not look like the tool is reporting anything that
is outside of <w> elements.</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>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.
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>You can get a beta of it here:
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV><SPAN class=Apple-tab-span
style="WHITE-SPACE: pre"></SPAN>www.crosswire.org/~dmsmith/kjv2006</DIV>
<DIV><BR class=khtml-block-placeholder>
<DIV>Just follow the links at the bottom of the page.</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>(This beta has only one known problem and that is with the last verse of
every book. Some frontends ignore the problem.)</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV><BR>
<DIV>
<DIV>On Jun 11, 2006, at 1:31 AM, Mmital wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The lookup tool in Genesis 24:67 gives the
following output:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=h? size=2>Genesis 24:67:<BR><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"
/><BR>==========================<BR>Entry Attributes:</FONT></DIV>
<DIV><FONT face=h? size=2></FONT> </DIV>
<DIV><FONT face=h? size=2>[ Word ]<BR> [ 001 ]<BR> Lemma =
H03327<BR> LemmaClass = strong<BR> Text = And
Isaac<BR> [ 002 ]<BR> Lemma =
H0935<BR> LemmaClass = strong<BR> Morph =
TH8686<BR> MorphClass = x-StrongsMorph<BR> Text =
brought her<BR> [ 003 ]<BR> Lemma =
H0517<BR> LemmaClass = strong<BR> Text = into his
mother<BR> [ 004 ]<BR> Lemma =
H08283<BR> LemmaClass = strong<BR> Text =
Sarah'<BR> [ 005 ]<BR> Lemma =
H0168<BR> LemmaClass = strong<BR> Text =
tent<BR> [ 006 ]<BR> Lemma =
H03947<BR> LemmaClass = strong<BR> Morph =
TH8799<BR> MorphClass = x-StrongsMorph<BR> Text = and
took<BR> [ 007 ]<BR> Lemma =
H07259<BR> LemmaClass = strong<BR> Text =
Rebekah<BR> [ 008 ]<BR> Lemma =
H0802<BR> LemmaClass = strong<BR> Text = and she
became his wife<BR> [ 009 ]<BR> Lemma =
H0157<BR> LemmaClass = strong<BR> Morph =
TH8799<BR> MorphClass = x-StrongsMorph<BR> Text = and
he loved<BR> [ 010 ]<BR> Lemma =
H03327<BR> LemmaClass = strong<BR> Text = her: and
Isaac<BR> [ 011 ]<BR> Lemma =
H05162<BR> LemmaClass = strong<BR> Morph =
TH8735<BR> MorphClass = x-StrongsMorph<BR> Text = was
comforted<BR> [ 012 ]<BR> Lemma =
H0310<BR> LemmaClass = strong<BR> Text =
after<BR> [ 013 ]<BR> Lemma =
H0517<BR> LemmaClass = strong<BR> Text = his
mother'</FONT></DIV>
<DIV><FONT face=h? size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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<EM> 'death'</EM> is
lost.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV
style="MARGIN: 0px">_______________________________________________</DIV>
<DIV style="MARGIN: 0px">sword-devel mailing list: <A
href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</A></DIV>
<DIV style="MARGIN: 0px"><A
href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://wwwcrosswire.org/mailman/listinfo/sword-devel</A></DIV>
<DIV style="MARGIN: 0px">Instructions to unsubscribe/change your settings at
above page</DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>sword-devel mailing
list:
sword-devel@crosswire.org<BR>http://www.crosswire.org/mailman/listinfo/sword-devel<BR>Instructions
to unsubscribe/change your settings at above page</BLOCKQUOTE></BODY></HTML>