mvnForum Homepage Welcome Guest  | Guest Setting  |  Register  |   Login
  Search  
Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


»

No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
Post new Thread
Author
Previous Thread This topic has been viewed 2650 times and has 2 replies Next Thread
Male centipeed
Stranger




Joined: Jun 15, 2008
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Accessing bible texts in Python

I'm (probably) going to be working extensively with the SWORD bible text modules at some point in the future, because my final year dissertation project is based on them.

I was wondering if there is information available as to the structure and format of the bible texts you offer that work with the SWORD project?

Also, is it possible to access these files through a program coded in, say, Python, as opposed to the C++ the original SWORD for Windows program is created in?
[Jun 15, 2008 12:36:33 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male ransom1982
Regular




Joined: Sep 28, 2007
Post Count: 75
Status: Offline
Reply to this Post  Reply with Quote 
Re: Accessing bible texts in Python

You might check out Bpbible which is written in Python using the swig bindings. bpbible.com.

Other info can be found on the wiki www.crosswire.org/wiki/index.php/Main_Page.
[Jun 15, 2008 3:16:08 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male dmsmith
Regular



USA
Joined: Aug 25, 2004
Post Count: 79
Status: Offline
Reply to this Post  Reply with Quote 
Re: Accessing bible texts in Python

With regard to the structure and format of the Bible texts, we do not publish this information. Though it is not documented in the code, it is freely available for anyone who can study the code.

We have several reasons for this, but ultimately they boil down to:

  • We want to encourage collaboration for the development and use of the SWORD engine. It seems that many people want to write their own application from scratch, to port the SWORD C++ code to their own favorite programing language (perl, python, .net, c#, ....).

    That is why we have a swig binding for other languages to use the one engine.

    We also have an implementation in Java.

  • We want to encourage the usage of original sources for Biblical material. In so far as possible, when we create a module, we try to obtain original e-texts. If/When we find errors we work with the maintainer of the original source to fix those errors. And as the maintainer improves the quality and/or scope of the e-text, we rebuild our modules from them.

In order to help and encourage you with your dissertation, we'd need more information concerning it. The forum is not an easy place for such a discussion. See our contact page for other ways to reach us. I'd suggest sword-support e-mail or irc.
----------------------------------------
[Edit 1 times, last edit by dmsmith at Jun 21, 2008 5:06:53 AM]
[Jun 21, 2008 5:05:49 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Show Printable Version of Thread  Post new Thread