[sword-devel] TEI2MOD - Output File Names

Greg Hellings greg.hellings at gmail.com
Thu Mar 29 08:19:38 MST 2018


On Tue, Mar 27, 2018 at 2:51 AM, Johan <johan.marais at messianic.co.za> wrote:

> Please help.
>
>
>
> I am using this command to create a SWORD dictionary module from TEI.
>
> tei2mod ./modules/lexdict/zld/ts2009en/ TS2009enVer100.txt -z -c ts2009en
>
>
>
> The output message is the following:
>
> tei2mod normalized 1 verses to NFC
>
> Suggested conf (replace ??? with appropriate values)
>
> [ts2009en]
>
> DataPath=./modules/lexdict/zld/ts2009en/dict
>

The "dict" on the end of this tells SWORD to look for files named "dict.*"
If you want them to be named "ts2009en.*" then change this line to read:

``DataPath=./modules/lexdict/zld/ts2009en/ts2009en`` and rename the dict.*
files to ts2009en.* files after creation. However, doing so would violate
the SOP for other lexica.

Description=???
>
> SourceType=TEI
>
> Encoding=UTF-8
>
> ModDrv=zLD
>
> CompressType=ZIP
>
> CipherKey=ts2009en
>
>
>
> It produces the files correctly, but the file names are all “dict.xxx”, I
> expected them to be “ts2009en.xxx”.
>

Correct. Drop those files into the folder "./modules/lexdict/zld/ts2009en/
and you should be good to go.

--Greg


>
>
> Are these (“dict.xxx”) the correct file names, is there a way to rather
> produce “ts2009en.xxx”?
>
>
>
> Thank you,
>
>
>
> Johan Marais
>
>
>
>
>
> _______________________________________________
> 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/20180329/73a1be6d/attachment-0001.html>


More information about the sword-devel mailing list