<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 27, 2018 at 2:51 AM, Johan <span dir="ltr"><<a href="mailto:johan.marais@messianic.co.za" target="_blank">johan.marais@messianic.co.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_2557078402976567716WordSection1"><p class="MsoNormal"><span lang="EN-GB">Please help.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">I am using this command to create a SWORD dictionary module from TEI.<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">tei2mod ./modules/lexdict/zld/<wbr>ts2009en/ TS2009enVer100.txt -z -c ts2009en<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">The output message is the following:<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">tei2mod normalized 1 verses to NFC<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">Suggested conf (replace ??? with appropriate values)<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">[ts2009en]<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">DataPath=./modules/lexdict/<wbr>zld/ts2009en/dict</span></p></div></div></blockquote><div> </div><div>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:</div><div><br></div><div>``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.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_2557078402976567716WordSection1"><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB"><u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">Description=???<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">SourceType=TEI<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">Encoding=UTF-8<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">ModDrv=zLD<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">CompressType=ZIP<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">CipherKey=ts2009en<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">It produces the files correctly, but the file names are all “dict.xxx”, I expected them to be “ts2009en.xxx”.</span></p></div></div></blockquote><div><br></div><div>Correct. Drop those files into the folder "./modules/lexdict/zld/ts2009en/ and you should be good to go.</div><div><br></div><div>--Greg</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_2557078402976567716WordSection1"><p class="MsoNormal"><span lang="EN-GB"><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Are these (“dict.xxx”) the correct file names, is there a way to rather produce “ts2009en.xxx”?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Thank you,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Johan Marais<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p></div></div><br>______________________________<wbr>_________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/<wbr>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div></div>