Re: [sword-devel] Open Hebrew Lexicon

2011-09-06 Thread Aaron Christianson

Hey all,

I haven't disappeared, and I'm following the discussion with great 
interest, but I'm a bit out of my depth to be participating in it.  I'm 
'techie' enough to edit raw XML if I have to (though I don't relish the 
prospect), and if there are Linux tools other than WeSay for editing 
LIFT documents, all the better.  I've emailed David with some questions 
to help me get my bearings in the discussion (followed by a lot of 
whining about minute points of his schema).  Once you guys get some kind 
of conclusions ironed out with regard to the format, which is not my 
area, I'll be very happy to supply information, labor, and opinions 
(plenty of these) in the linguistic department, which is my area.


Aaron

___
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


Re: [sword-devel] Difficult Greek question

2011-09-06 Thread Martin Denham
Thanks Karl,

I believe the user was using StrongsGreek from the default repo rather than
StrongsRealGreek from the Xiphos repo so I will also raise a bug report for
the StrongsGreek module.

Martin

On 5 September 2011 13:41, Karl Kleinpaste k...@kleinpaste.org wrote:

 FYI, StrongsRealGreek in the Xiphos repo has been updated, version
 1.4-110905, to reflect this fix (3156, ref 3164 = 3161) as well as a
 similar, previously reported glitch in 5043 (ref 5098 = 5088).

 ___
 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] imp2vs segfault

2011-09-06 Thread Greg Hellings
I'm working with a pair of Bible files, both are in imp format with
ThML formatting embedded in the verses.  I have imported plenty of
files akin to these, with no noticeable difference between them all,
yet these two produce consistent segfaulting at the border between
Joel 4:1 and Joel 4:2.  Does anyone have an idea what is going on?

The files are here:
http://dl.thehellings.com/SL_FR_BI_PDV.thml.lorem
http://dl.thehellings.com/SL_PG_BI_TPC.thml.lorem

Warning - not for the faint of heart.  They weigh in at about 10 and
13MB apiece.

--Greg

___
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


Re: [sword-devel] imp2vs segfault

2011-09-06 Thread David Haslam
Does the same segmentation fault occur when using imp2vs.exe in Windows?

David

--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/imp2vs-segfault-tp3793577p3794046.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
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


Re: [sword-devel] imp2vs segfault

2011-09-06 Thread Greg Hellings
Wouldn't know.  I don't go near Windows without hip waders (or the
promise of a paycheck, when it comes to my day job) on if I can help
it. Plus, I doubt that imp2vs.exe is as up to date as the version I'm
using in Linux.  You're more than welcome to give it a try.  I used
the command

imp2vs file -4 -o .

to do the import.  I also tried adding '-v Catholic' in, since these
are French and Portugese modules, but that results in endlessly
repeating messages of linking different verses together.

--Greg

On Tue, Sep 6, 2011 at 12:24 PM, David Haslam dfh...@googlemail.com wrote:
 Does the same segmentation fault occur when using imp2vs.exe in Windows?

 David

 --
 View this message in context: 
 http://sword-dev.350566.n4.nabble.com/imp2vs-segfault-tp3793577p3794046.html
 Sent from the SWORD Dev mailing list archive at Nabble.com.

 ___
 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


Re: [sword-devel] imp2vs segfault

2011-09-06 Thread Chris Little
The utils tend to choke when you throw data at them in a radically wrong 
versification system. Specifically, they'll choke if you give them texts 
with extra chapters. Joel only has 3 chapters in the KJV versification, 
which you're using, so you get a segfault when you feed imp2vs a Bible 
with four chapters in Joel.


There is a bug somewhere, but fixing the bug still isn't going to make 
this the correct versification.


One of the Catholic versifications is probably the closest we have. I'm 
not sure about the endlessly repeating messages of linking different 
verses together. Are they literally endless and repeating the same 
linkage? That's not a bug that I know of in any of the tools. (If it's 
the same verse repeating, which verse is it? And have you checked that 
there isn't some sort of error in the verse numbering in/around that verse?)


There is also a French versification system that we know of but haven't 
implemented yet, which might be a better fit.


--Chris


On 9/6/2011 10:30 AM, Greg Hellings wrote:

Wouldn't know.  I don't go near Windows without hip waders (or the
promise of a paycheck, when it comes to my day job) on if I can help
it. Plus, I doubt that imp2vs.exe is as up to date as the version I'm
using in Linux.  You're more than welcome to give it a try.  I used
the command

imp2vsfile  -4 -o .

to do the import.  I also tried adding '-v Catholic' in, since these
are French and Portugese modules, but that results in endlessly
repeating messages of linking different verses together.

--Greg

On Tue, Sep 6, 2011 at 12:24 PM, David Haslamdfh...@googlemail.com  wrote:

Does the same segmentation fault occur when using imp2vs.exe in Windows?

David

--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/imp2vs-segfault-tp3793577p3794046.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
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


Re: [sword-devel] imp2vs segfault

2011-09-06 Thread Greg Hellings
On Tue, Sep 6, 2011 at 11:01 PM, Chris Little chris...@crosswire.org wrote:
 The utils tend to choke when you throw data at them in a radically wrong
 versification system. Specifically, they'll choke if you give them texts
 with extra chapters. Joel only has 3 chapters in the KJV versification,
 which you're using, so you get a segfault when you feed imp2vs a Bible with
 four chapters in Joel.

Well that explains that phenomenon.


 There is a bug somewhere, but fixing the bug still isn't going to make this
 the correct versification.

An error message would at least be nice. Hey, not sure what to do
with this verse.


 One of the Catholic versifications is probably the closest we have. I'm not
 sure about the endlessly repeating messages of linking different verses
 together. Are they literally endless and repeating the same linkage? That's
 not a bug that I know of in any of the tools. (If it's the same verse
 repeating, which verse is it? And have you checked that there isn't some
 sort of error in the verse numbering in/around that verse?)

I would just like to reiterate - the files are freely available for
anyone to take a look at and test out.  This way anyone can see what
is going on and hopefully help come to an informed decision about what
is going on.

http://dl.thehellings.com/SL_FR_BI_PDV.thml.lorem
http://dl.thehellings.com/SL_PG_BI_TPC.thml.lorem

These are the two files in question.  I have now uploaded a copy of
the output of this command
$ imp2vs SL_FR_BI_PDV.thml.lorem -4 -o SL_FR_BI_PDV -v Catholic 21 
SL_FR_BI_PDV.thml.lorem.err
to the above location as well for you to check out.  It is a 95MB file
that resulted from allowing the above command to run for about 20 or
30 seconds before doing a keyboard break.  I'm looking at about 2.25
million lines of output there which start out perfectly normal
from file: Ge 1:1
adding entry: Genesis 1:1 length 240/240
from file: Ge 1:2
adding entry: Genesis 1:2 length 149/149
from file: Ge 1:3
adding entry: Genesis 1:3 length 136/136
...

And then turn into
adding entry: Amos 9:15 length 2159/2159
from file: Ob 1
adding entry: Obadiah 1:1 length 823/823
linking entry: Obadiah 1:2 to Obadiah 1:1
linking entry: Obadiah 1:3 to Obadiah 1:1
linking entry: Obadiah 1:4 to Obadiah 1:1
snip
linking entry: Obadiah 1:21 to Obadiah 1:1
from file: Ob 2
adding entry: Obadiah 2:1 length 492/492
linking entry: [ Module Heading ] to Obadiah 2:1
linking entry: [ Testament 1 Heading ] to Obadiah 2:1
linking entry: Genesis 0:0 to Obadiah 2:1
linking entry: Genesis 1:0 to Obadiah 2:1
linking entry: Genesis 1:1 to Obadiah 2:1
linking entry: Genesis 1:2 to Obadiah 2:1
linking entry: Genesis 1:3 to Obadiah 2:1
snip
linking entry: Jonah 1:14 to Obadiah 2:1
linking entry: Jonah 1:15 to Obadiah 2:1
linking entry: Jonah 1:16 to Obadiah 2:1
from file: Ob 3
adding entry: Obadiah 3:1 length 465/465
linking entry: [ Module Heading ] to Obadiah 3:1
linking entry: [ Testament 1 Heading ] to Obadiah 3:1
linking entry: Genesis 0:0 to Obadiah 3:1
linking entry: Genesis 1:0 to Obadiah 3:1
linking entry: Genesis 1:1 to Obadiah 3:1
linking entry: Genesis 1:2 to Obadiah 3:1
linking entry: Genesis 1:3 to Obadiah 3:1
snip
linking entry: Jonah 2:8 to Obadiah 3:1
linking entry: Jonah 2:9 to Obadiah 3:1
linking entry: Jonah 2:10 to Obadiah 3:1
linking entry: Jonah 2:11 to Obadiah 3:1
from file: Ob 4
adding entry: Obadiah 4:1 length 438/438
linking entry: [ Module Heading ] to Obadiah 4:1
linking entry: [ Testament 1 Heading ] to Obadiah 4:1
linking entry: Genesis 0:0 to Obadiah 4:1
linking entry: Genesis 1:0 to Obadiah 4:1
linking entry: Genesis 1:1 to Obadiah 4:1

And so on. I don't see what's so special about this point in the
module, but maybe someone else can?  Again, I encourage you all to
take a look at the files yourself and see if you all can see something
I'm missing.

--Greg



 There is also a French versification system that we know of but haven't
 implemented yet, which might be a better fit.

 --Chris


 On 9/6/2011 10:30 AM, Greg Hellings wrote:

 Wouldn't know.  I don't go near Windows without hip waders (or the
 promise of a paycheck, when it comes to my day job) on if I can help
 it. Plus, I doubt that imp2vs.exe is as up to date as the version I'm
 using in Linux.  You're more than welcome to give it a try.  I used
 the command

 imp2vsfile  -4 -o .

 to do the import.  I also tried adding '-v Catholic' in, since these
 are French and Portugese modules, but that results in endlessly
 repeating messages of linking different verses together.

 --Greg

 On Tue, Sep 6, 2011 at 12:24 PM, David Haslamdfh...@googlemail.com
  wrote:

 Does the same segmentation fault occur when using imp2vs.exe in Windows?

 David

 --
 View this message in context:
 http://sword-dev.350566.n4.nabble.com/imp2vs-segfault-tp3793577p3794046.html
 Sent from the SWORD Dev mailing list archive at Nabble.com.

 ___
 sword-devel mailing list: 

Re: [sword-devel] imp2vs segfault

2011-09-06 Thread Chris Little

On 9/6/2011 10:15 PM, Greg Hellings wrote:

On Tue, Sep 6, 2011 at 11:01 PM, Chris Littlechris...@crosswire.org  wrote:

The utils tend to choke when you throw data at them in a radically wrong
versification system. Specifically, they'll choke if you give them texts
with extra chapters. Joel only has 3 chapters in the KJV versification,
which you're using, so you get a segfault when you feed imp2vs a Bible with
four chapters in Joel.


Well that explains that phenomenon.



There is a bug somewhere, but fixing the bug still isn't going to make this
the correct versification.


An error message would at least be nice. Hey, not sure what to do
with this verse.



One of the Catholic versifications is probably the closest we have. I'm not
sure about the endlessly repeating messages of linking different verses
together. Are they literally endless and repeating the same linkage? That's
not a bug that I know of in any of the tools. (If it's the same verse
repeating, which verse is it? And have you checked that there isn't some
sort of error in the verse numbering in/around that verse?)


I would just like to reiterate - the files are freely available for
anyone to take a look at and test out.  This way anyone can see what
is going on and hopefully help come to an informed decision about what
is going on.

http://dl.thehellings.com/SL_FR_BI_PDV.thml.lorem
http://dl.thehellings.com/SL_PG_BI_TPC.thml.lorem

These are the two files in question.  I have now uploaded a copy of
the output of this command
$ imp2vs SL_FR_BI_PDV.thml.lorem -4 -o SL_FR_BI_PDV -v Catholic 21
SL_FR_BI_PDV.thml.lorem.err
to the above location as well for you to check out.  It is a 95MB file
that resulted from allowing the above command to run for about 20 or
30 seconds before doing a keyboard break.  I'm looking at about 2.25
million lines of output there which start out perfectly normal
from file: Ge 1:1
adding entry: Genesis 1:1 length 240/240
from file: Ge 1:2
adding entry: Genesis 1:2 length 149/149
from file: Ge 1:3
adding entry: Genesis 1:3 length 136/136
...

And then turn into
adding entry: Amos 9:15 length 2159/2159
from file: Ob 1
adding entry: Obadiah 1:1 length 823/823
linking entry: Obadiah 1:2 to Obadiah 1:1
linking entry: Obadiah 1:3 to Obadiah 1:1
linking entry: Obadiah 1:4 to Obadiah 1:1
snip
linking entry: Obadiah 1:21 to Obadiah 1:1
from file: Ob 2
adding entry: Obadiah 2:1 length 492/492
linking entry: [ Module Heading ] to Obadiah 2:1
linking entry: [ Testament 1 Heading ] to Obadiah 2:1
linking entry: Genesis 0:0 to Obadiah 2:1
linking entry: Genesis 1:0 to Obadiah 2:1
linking entry: Genesis 1:1 to Obadiah 2:1
linking entry: Genesis 1:2 to Obadiah 2:1
linking entry: Genesis 1:3 to Obadiah 2:1
snip
linking entry: Jonah 1:14 to Obadiah 2:1
linking entry: Jonah 1:15 to Obadiah 2:1
linking entry: Jonah 1:16 to Obadiah 2:1
from file: Ob 3
adding entry: Obadiah 3:1 length 465/465
linking entry: [ Module Heading ] to Obadiah 3:1
linking entry: [ Testament 1 Heading ] to Obadiah 3:1
linking entry: Genesis 0:0 to Obadiah 3:1
linking entry: Genesis 1:0 to Obadiah 3:1
linking entry: Genesis 1:1 to Obadiah 3:1
linking entry: Genesis 1:2 to Obadiah 3:1
linking entry: Genesis 1:3 to Obadiah 3:1
snip
linking entry: Jonah 2:8 to Obadiah 3:1
linking entry: Jonah 2:9 to Obadiah 3:1
linking entry: Jonah 2:10 to Obadiah 3:1
linking entry: Jonah 2:11 to Obadiah 3:1
from file: Ob 4
adding entry: Obadiah 4:1 length 438/438
linking entry: [ Module Heading ] to Obadiah 4:1
linking entry: [ Testament 1 Heading ] to Obadiah 4:1
linking entry: Genesis 0:0 to Obadiah 4:1
linking entry: Genesis 1:0 to Obadiah 4:1
linking entry: Genesis 1:1 to Obadiah 4:1

And so on. I don't see what's so special about this point in the
module, but maybe someone else can?  Again, I encourage you all to
take a look at the files yourself and see if you all can see something
I'm missing.


I would guess that you can fix these issues by adding a chapter number 
(1) to all of the verses in books with only one chapter (Obadiah, 
Philemon, 2 John, 3 John,  Jude).


--Chris

___
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


Re: [sword-devel] imp2vs segfault

2011-09-06 Thread Peter von Kaehne
On 07/09/11 06:36, Chris Little wrote:

 
 I would guess that you can fix these issues by adding a chapter number
 (1) to all of the verses in books with only one chapter (Obadiah,
 Philemon, 2 John, 3 John,  Jude).

You were by a minute too fast for me.

It is beyond me to implement, but if the debug facility of osis2mod
could get ported over to imp2vs, I guess this would be useful

Peter


___
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


Re: [sword-devel] imp2vs segfault

2011-09-06 Thread Chris Little

On 9/6/2011 10:48 PM, Peter von Kaehne wrote:

On 07/09/11 06:36, Chris Little wrote:



I would guess that you can fix these issues by adding a chapter number
(1) to all of the verses in books with only one chapter (Obadiah,
Philemon, 2 John, 3 John,  Jude).


You were by a minute too fast for me.

It is beyond me to implement, but if the debug facility of osis2mod
could get ported over to imp2vs, I guess this would be useful

Peter


Alas, imp2vs just isn't (and probably won't ever be) as well supported 
as osis2mod. Personally, even if I export via mod2imp in order to fix 
some small problem with a text, I convert the imp file to OSIS and use 
osis2mod. I would guess that should work fine for a document with 
verse-internal ThML markup too, as another option. (But I could be 
wrong, maybe there's some introspection of verses that I'm not thinking 
of and that would be tripped up by ThML.)


--Chris


___
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