[bt-devel] Multiple lemmas (OSIS)

Tom Cornell tom.cornell at gmail.com
Mon Mar 24 15:50:26 MST 2008


Martin,
I've checked all of the Ancient Greek bible modules that I have (Tisch,
WHNU, TR, the MorphGNT module from the beta repository and the TischMorph
module from MorphGNT.org). They all still work. In the case of Tisch, which
also has multiple lemmas, it works better than it did before. (Previously
only the Strong's entry was showing up.) I have no idea if any or all of
them are actually using the OSIS filter, although I think Tisch must be,
since its behavior changed.
-Tom

On Sun, Mar 23, 2008 at 2:29 PM, Martin Gruner <mg.pub at gmx.net> wrote:

> Hi Tom.
>
> Thanks for your research so far. To be honest, I cannot say why it would
> have
> to check for G or H. Can you please change it to skip the test and then
> verify that the code still works with other Sword modules which contain
> lemma
> information? If it does, I'll remove the check in SVN as well.
>
> The filter code isn't very nice, as you have clearly seen. It will need a
> rewrite in future.
>
> Regards, mg
>
> Am Donnerstag, 20. März 2008 schrieb Tom Cornell:
> > As an exercise in learning about the Sword library and friends, and to
> help
> > me with my homework for a Greek class I'm taking at my church, I have
> been
> > trying to construct a Sword module from the CCAT/Tauber source material
> at
> > MorphGNT.org. Because the text is UBS4/NA27, sometimes the lemmas differ
> > from what you would find in Strong's. So I want to display the lemma
> from
> > the CCAT/Tauber database (which is also what you would find in the UBS4
> > glossary) in addition to the entry from Strong's, in BibleTime (which
> for
> > me is by far the most intuitive sword client I have found for doing NT
> > Greek, at least).
> >
> > Unfortunately, I could not get the extra lemma to show up in BT.
> >
> > The module I am constructing is in OSIS format, so this has to do with
> > backend/bt_osishtml.cpp. The tag in my module looks something like this:
> >
> > <w lemma="lemma.DUMMY:ἐν lemma.strong:G1722"
> morph="robinson:PREP">ἐν</w>
> >
> > In BibleTime version 1.6.5, bt_osishtml.cpp line 155 there is the
> following
> > if-statement:
> >
> >             if ((*val == 'H') || (*val == 'G')) {
> >               attrValue.append(val);
> >             }
> >
> > Basically, the "alternate" lemma (well, it's the same as Strong's _most_
> of
> > the time) is filtered out because it doesn't start with 'G' or 'H'. I
> can
> > change my OSIS generator to prepend a 'G', and it will work, but the
> output
> > is funny looking, because there is no break between the G and the greek
> > characters. It looks better if I simply comment out the if. It still
> shows
> > up as "Strongs: ἐν", but I can live with that for now.
> >
> > So the question is: What would be the right way to get this result? I
> > presume that if-statement is there for a reason, and there is something
> it
> > is guarding against. Any advice would be welcome.
> >
> > Tom Cornell
>
>
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/bt-devel/attachments/20080324/b96058f2/attachment.html 


More information about the bt-devel mailing list