On Thu, Mar 29, 2018 at 10:47 AM, Johan <johan.mar...@messianic.co.za> wrote:
> Thank you Greg. > > > > I checked the other dictionaries, they all use the dictionary name as the > file names. > > > > If changing the file names from “dict.xxx. to “ts2009en.xxx” violationing > your SOP (standard operating procedures??), then I would rather keep them > as “dict.xxx”. > Well perhaps it's not violating the SOP, then. I always just left them the same, but it's been some 10+ years since I was actively working on module development on any large scale. I've mostly contributed in code, documentation, release, and abraisively worded emails on the mailing list since then. I just installed a random module from CrossWire and it does use its own filenames as you suggest. So feel free to name it how you wish - just make sure that the filename (minus the extensions) matches the last component of the DataPath entry in the module's config file. --Greg > > > Thank you for your assistance. > > > > Johan Marais > > > > *From:* Greg Hellings <greg.helli...@gmail.com> > *Sent:* Thursday, 29 March 2018 17:20 > *To:* SWORD Developers' Collaboration Forum <sword-devel@crosswire.org> > *Subject:* Re: [sword-devel] TEI2MOD - Output File Names > > > > > > > > On Tue, Mar 27, 2018 at 2:51 AM, Johan <johan.mar...@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@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page > > > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page >
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page