[sword-devel] Probles with imp2ld.exe

ingo7 ingo7 at wp.pl
Fri Jan 28 09:20:22 MST 2005


Hi

We created test Polish version of Strong dictionary using imp2ld.
We took txt file in Polish (very important: UTF-8) which looks like
that:

$$$00001
a  ('alfa)<br />
alfa - pierwsza litera alfabetu; w przenośni (w wyniku używania jako
liczebnika) "jedyny", "pierwszy". <br />
Często używana także w złożeniach (przed samogłoską jako an), w
znaczeniu pozbawienia (jako kontrakcja 427) - jest tak w wielu słowach,
które zaczynają się tą literą; wyjątkowo w znaczeniu związku (jako
kontrakcja 260).<br />
pochodzenia hebrajskiego; zob. 427, 260

$$$00002
Aa'ron  \par\par 
Aaron, brat Mojżesza. \par\par 
z jęz.hebrajskiego (175); zob. słownik hebr. 175
 etc. 

Then we wrote in command line:
imp2ld strongsgreek.txt StrongGreckoPolski 2

Then we add .conf file which lookes like that:

[StrongGreckoPolski]
DataPath=./modules/lexdict/rawld/stronggreckopolski/stronggreckopolski
ModDrv=RawLD
Lang=pl
Encoding=UTF-8
Feature=GreekDef
Version=1.3
History_1.3=Translated into Polish language
History_1.2=Added Feature 'GreekDef' to configuration.
History_1.1=now contains Strong's Lexicon instead of Thayer's
Description=Grecki Słownik Biblijny Stronga
About=(description) 
TextSource=http://www.bf.org/ polish e-text: (our address at
http://biblijna.strona.pl, at the moment not active)
LCSH=Greek language--Dictionaries--Polish.
DistributionLicense=Translation Copyrighted (by us) - For free use in
free biblical software

Everything works OK. 

In Christ,

Ingo

-----Original Message-----
From: sword-devel-bounces at crosswire.org
[mailto:sword-devel-bounces at crosswire.org] On Behalf Of Pham, Khoi
Sent: Friday, January 28, 2005 3:31 PM
To: SWORD Developers' Collaboration Forum
Subject: [sword-devel] Probles with imp2ld.exe


I tried to use imp2ld.exe to create a dictionary based on numbers
similar to Strongs, but it did not work.  After that I use mod2imp to
recreate the StrongsGreek dictionary, the file Strongs.txt was created
properly.  After that I tried to recreate a new Strongs dictionary using
imp2mod, the dictionary was compiled and gave me 2 files: strongs.dat
and strongs.idx.  But when I put it in the lexdic\rawld\strongs\
subdirectory, and create a strongs.conf file for it.  The Strongs tab
showed up in the dictionary section, but when click on the tab, it does
not show Strongs number properly. What did I do wrong? How can I make it
work? Or anyone has a better imp2ld than what I have? Your help is
appreciated because I am working on creating a Strongs Dictionary in
Vietnamese.  I will not spend time on it if I cannot make a working
module from it.

Paul
-----Original Message-----
From: sword-devel-bounces at crosswire.org
[mailto:sword-devel-bounces at crosswire.org] On Behalf Of Troy A.
Griffitts
Sent: Thursday, January 27, 2005 9:10 PM
To: SWORD Developers' Collaboration Forum
Subject: Re: [sword-devel] cvs won't compile

Eric,
	CrossWire does not support CVS any longer, and I believe this
has been 
fixed for quite some time in our Subversion (SVN) repository.  I'd need 
a little more information to help, if you're sure you have the latest 
SVN code (https://crosswire.org/svn/sword/trunk)

	-Troy.



Eric Hartwell wrote:
> Hello,
> 
> I try to compile CVS and I get
> 
> g++ -DUSE_AUTOTOOLS -DGLOBCONFPATH=\"/usr/local/etc/sword.conf\"
-DUNIX -I. 
> -I. -I.. -I../include -g -O2 -ftemplate-depth-25 -c
.../src/keys/versekey.cpp 
> -MT versekey.lo -MD -MP -MF .deps/versekey.TPlo  -fPIC -DPIC In file 
> included from ../include/swconfig.h:32,
>                  from ../include/localemgr.h:29,
>                  from ../src/keys/versekey.cpp:22:
> ../include/multimapwdef.h: In member function `T&
> sword::multimapwithdefault<Key, T, Compare>::getWithDefault(const
Key&, const 
> T&)':
> ../include/multimapwdef.h:15: error: there are no arguments to `end'
that 
> depend on a template parameter, so a declarationof `end' must be
available
> ../include/multimapwdef.h:15: error: (if you use `-fpermissive', G++
will 
> accept your code, but allowing the use of an undeclared name is
deprecated)
> ../include/multimapwdef.h: In member function `T&
> sword::multimapwithdefault<Key, T, Compare>::operator[](const Key&)':
> ../include/multimapwdef.h:22: error: there are no arguments to `end'
that 
> depend on a template parameter, so a declarationof `end' must be
available
> make[2]: *** [versekey.lo] Error 1
> make[2]: Leaving directory `/home/eah/downloads/bibletime/sword/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/eah/downloads/bibletime/sword'
> make: *** [all] Error 2
> 
> 
> any suggestions?
> 
> thanks,
> 
> Eric
> _______________________________________________
> sword-devel mailing list
> sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel

_______________________________________________
sword-devel mailing list
sword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel



-----------------------------------------
*****************Internet Email Confidentiality Footer******************
Privileged/Confidential Information may be contained in this message.
If
you are not the addressee indicated in this message (or responsible
for
delivery of the message to such person), you may not copy or deliver
this message to anyone. In such case, you should destroy this message
and notify the sender by reply email. Please advise immediately if you
or your employer do not consent to Internet email for messages of this
kind. Opinions, conclusions and other information in this message that
do not relate to the official business of The Shaw Group Inc. or its
subsidiaries shall be understood as neither given nor endorsed by it.
________________________________________________________________________
The Shaw Group Inc.  http://www.shawgrp.com


_______________________________________________
sword-devel mailing list
sword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel




More information about the sword-devel mailing list