Re: [sword-devel] usfm to osis converter...

2015-07-30 Thread Ryan Hiebert
This seems like very good work, Ryan. I took a look at the coverter before, as I'm a Python dev, and couldn't hack it. I tried to start wrting a OSFM parser, but I had some difficulty fully understanding what the spec was saying. Anyway, if you were interested in continuing to work on it, I'd be

Re: [sword-devel] Windows 10 ?

2015-07-30 Thread Brian Schroeder
Karl Kleinpaste wrote: On 07/30/2015 02:47 PM, David Haslam wrote: Have the front-end developers tested their Windows software on Windows 10 ? Considering that Win10 was released just 2 days ago, the likelihood of any of us even having seen it is nil. I have not done extensive testing, but so

Re: [sword-devel] usfm to osis converter...

2015-07-30 Thread David Haslam
I've been browsing the script, and yes - it does support nested tags. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/usfm-to-osis-converter-tp4654838p4654845.html Sent from the SWORD Dev mailing list archive at Nabble.com.

Re: [sword-devel] usfm to osis converter...

2015-07-30 Thread Ryan
> Among other clean-up, usfm2osis.py avoided this problem by using > Python's XML libraries to ensure that any output was, at the least, > well-formed. It might even include the schema in order to enforce > validity. > My script includes the osis 2.1.1 schema and uses the same XML libraries (lxml

Re: [sword-devel] usfm to osis converter...

2015-07-30 Thread Greg Hellings
I can't help but wonder if the speed boosts this boasts come at the expense of one of usfm2osis.py's main benefits - its change from raw text manipulation to proper XML construction. We previously had a very fast usfm2osis.pl that used Perl's raw regular expressions to brute force its way to very f

Re: [sword-devel] Windows 10 ?

2015-07-30 Thread Karl Kleinpaste
On 07/30/2015 02:47 PM, David Haslam wrote: > Have the front-end developers tested their Windows software on Windows 10 ? Considering that Win10 was released just 2 days ago, the likelihood of any of us even having seen it is nil. ___ sword-devel mailing

Re: [sword-devel] usfm to osis converter...

2015-07-30 Thread Chris Burrell
Does it supported nested tags? On a related note, if people want a usx converter to osis, please let me know. Cheers Chris -Original Message- From: "David Haslam" Sent: ‎30/‎07/‎2015 20:07 To: "sword-devel@crosswire.org" Subject: Re: [sword-devel] usfm to osis converter... Thanks, Rya

Re: [sword-devel] usfm to osis converter...

2015-07-30 Thread David Haslam
Thanks, Ryan. This looks very interesting. I expect that John Austin and others would also find it useful. Your description (qv) of the project should grab our attention. I wrote my own USFM to OSIS converter in python. There are several reasons for this: The usfm2osis.py converter mentioned

[sword-devel] Windows 10 ?

2015-07-30 Thread David Haslam
Have the front-end developers tested their Windows software on Windows 10 ? Anything to report? David -- View this message in context: http://sword-dev.350566.n4.nabble.com/Windows-10-tp4654839.html Sent from the SWORD Dev mailing list archive at Nabble.com. _

[sword-devel] usfm to osis converter...

2015-07-30 Thread Ryan
In case anyone is interested, I've written a new fast usfm to osis converter. I mainly wrote it as a personal challenge to see how difficult it would be... but perhaps someone else may find it useful as well. You can find it at http://sites.google.com/site/adyeths/theswordproject __