[sword-devel] OSIS Dictionary module

Anders Frohm anders.frohm at gmail.com
Wed Jul 28 23:44:57 MST 2010


Hi!
I've posted this as a thread to the forums very recently and Manfred
responded that I shoud write to this mailing list.
I'm creating a dictionary module and I found the following file:
smith.zip<http://www.crosswire.org/~chrislit/osis/texts/smith.zip>
.
The zip-file contains the Smith's Bible Dictionary in OSIS format, so I
thought that was the correct format to create my dictionary in.
So the actual OSIS XML-file is already created, but now I'm having trouble
to make a module out of the XML-file.

I've downloaded the sword utilities compiled for Win32.
And I've used the osis2mod utility to create a bible module earlier, but now
it's a dictionary so the osis2mod won't work.
By reading the wiki it seemed like the xml2gbs utility was the right one to
use, so I tried it out and it created three files with the following
extensions: bdt, dat & idx.
But the module doesn't seem to work, I've tried to use both the rawLD and
rawGenBook as the value for ModDrv in the conf-file.
I have seen that the Smith module (the actual one) contains only two files:
dat & idx.

So what utility do you use to create only the dat & idx files?

Now I know (after creating my file) that the preferred format is TEI, but
I'm hoping that I don't have to convert my 4000 lines of XML.
Maybe the conversion could be made quite easily with a few regular
expression but I don't know if TEI supports paragraphs.

Please let me know if you know what I'm doing wrong.
Thanks in advance!
Best regards,
Anders Frohm
anders.frohm at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100729/c14ca5a6/attachment.html>


More information about the sword-devel mailing list