GithubHelp home page GithubHelp logo

adedayo / sword-module-converter Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 80.32 MB

Automates the conversion of encoded sword modules (and a few other formats) to parsable textual files such as YAML and OSIS format.

Scala 100.00%

sword-module-converter's Introduction

Sword Module Converter

Automates the conversion of encoded sword modules (and a few other formats) to parsable textual files such as YAML and OSIS format.

Written primarily as a tool to help me automate the extraction of bible verses for various use cases such as preparing teaching slides.

If someone stumbles upon this and thinks they may benefit from a more shrink-wrapped distributable version please drop a note or if you wish to contribute, ask for a feature or extend it for the Kingdom, please reach out.

This tool is never intended to be used to make money or to infringe copyright - it is purely for the edification of the body of Christ.

Developer notes

Uses JSword libary, which may be found here: [email protected]:crosswire/jsword.git

  • Use Maven build a local copy of of the JSword package
  • Add as dependency to the project as done here - see Pom file
  • Ensure you have the sword module required downloaded in the standard locations, for example, install Eloquent or BibleDesktop and use those front-ends to download Sword modules from various public sources
  • Use the Books class to load installed modules, extract and transform as desired. The heavy lifting has been done by JSword

Sample Books

Sample extracted bibles in different output formats may be found in books

Other public domain books

The directory raw contains public domain books (that I could not find in Crosswire collections), which may or may not be sword module format, but I have annotated them so that they could also be read and transformed by this tool. Each book is in its own dedicated directory and contains annotations to help parse it and other metadata such as where the copy was obtained from

sword-module-converter's People

Contributors

adedayo avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.