Giter Site home page Giter Site logo

bibleqe's Introduction

bruh

bibleqe's People

Contributors

anoxic avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bibleqe's Issues

Display passages by reference

Problem: take a query, and if it's a reference, print verses, otherwise perform a word search.

Constraints:

  1. A chapter reference without verses will match the whole chapter
  2. Books such as "2 Chronicles" should be able to be matched with roman numerals "II", a number "2", or with verbosely as "Second".
  3. Ranges should be able to match chapter to chapter "Genesis 1-3", verse to verse "Genesis 1:10-13", verses between chapters "Genesis 2:20-3:4"
  4. Additional passages or verses should be matched using a , - for instance "Genesis 3, Exodus 5" - "Genesis 3:1,5,6,19, 4:10", and so on.

Leaving ranges for later, I think this can be broken down into the following problems:

  1. Determine if a query is a reference or not
  2. Parse a reference
  3. Check if the referenced book exists
  4. Retrieve the passage

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.