Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.74 KB

File metadata and controls

21 lines (14 loc) · 1.74 KB

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Python

Sword Module Text Extraction

This notebook in this repository demonstrates how to extract Biblical text from Sword modules using the pysword library in Python. The pysword library provides an interface for accessing and parsing text from Sword Project modules, which are widely used for digital Bible resources. In this example, we will load one Sword module and extract the the surface text for a specific book, chapter, and verse, and showcase how to display the extracted content.

For more information about the Sword Project, visit The CrossWire Bible Society.

Also take into account the following comment from: www.crosswire.org/faq

How do I convert Sword modules to text?

We would like to discourage this. Please work with us in making our software better.

But, if you really need the text, each module has a conf file which will tell you about the origin of the text. Please obtain the source the same way we did. You may not convert the modules that have been licensed to CrossWire for distribution. The KJV module is the only one for which we maintain the source, which you can obtain here.

An overview of available modules is available here.

Sword to JSON

Generate json files of many Bible versions.