[sword-devel] duplicate entries in TEI dictionary

Daniel Bearden dpbearden at gmail.com
Sat Apr 3 15:13:39 MST 2010


Strong's numbers 548 and 549 appear as follows in the Apostolic Bible
Lexicon I am working on:

      <entryFree n="G548|άπειμι">
        <title>548</title>
        <orth>άπειμι</orth>
        <def>To <hi rend="bold">be absent</hi>; to <hi rend="bold">go
away</hi>.</def>
      </entryFree>
      <entryFree n="G549|άπειμι">
        <title>549</title>
        <orth>άπειμι</orth>
        <def>To <hi rend="bold">go</hi>.</def>
      </entryFree>

In the Strong's tei file linked to from the wiki they appear as:

<entryFree n="G0548|ἄπειμι">
<title>G548</title>
<orth>ἄπειμι</orth>
<orth type="trans" rend="bold">apeimi</orth>
<pron rend="italic">ap'-i-mee</pron><lb/>
<def>From <ref target="Strong:G0575">G575</ref> and <ref
target="Strong:G1510">G1510</ref>; to <hi rend="italic">be</hi> <hi
rend="italic">away</hi>: - be absent. Compare <ref
target="Strong:G0549">G549</ref>.</def>
</entryFree>
<entryFree n="G0549|ἄπειμι">
<title>G549</title>
<orth>ἄπειμι</orth>
<orth type="trans" rend="bold">apeimi</orth>
<pron rend="italic">ap'-i-mee</pron><lb/>
<def>From <ref target="Strong:G0575">G575</ref> and <foreign>εἶμι</foreign>
eimi (to <hi rend="italic">go</hi>); to <hi rend="italic">go</hi> <hi
rend="italic">away</hi>: - go. Compare <ref
target="Strong:G0548">G548</ref>.</def>
</entryFree>

However, when I compile my valid tei xml file using tei2mod it hangs showing
this on the output:

Leaving entryFree
keyStr: G549|άπειμι
splitBuffer: G549
currentKey: G549
(1705) G549
splitBuffer: άπειμι
currentKey: G549

dict.dat shows:

G549
<entryFree n="G549|άπειμι">
        <title>549</title>
        <orth>άπειμι</orth>
        <def>To <hi rend="bold">go</hi>.</def>
      </entryFree>

After removing all the duplicate entries, the module successfully compiles.
However when viewing the module in a frontend it is completely empty and
shows no entries.

The .conf has:
[ABPLexicon]
DataPath=./modules/lexdict/rawld/abplexicon/
Description=Apostolic Bible Polyglot Lexical Concordance
ModDrv=RawLD
Lang=en
Encoding=UTF-8
Feature=GreekDef
SourceType=TEI
About=The Apostolic Bible Polyglot is a Greek-English Interlinear coded to
Strong's numbers. Free printable PDF's can be downloaded and printed
editions can be purchased at http://www.apostolicbible.com
TextSource=apostolicbible.com
LCSH=Greek language--Dictionaries--English.
DistributionLicense=Copyrighted; Permission to distribute granted to
CrossWire
Copyright=Copyright 1996 Charles Van der Pool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100403/1a7db131/attachment.html>


More information about the sword-devel mailing list