Giter VIP home page Giter VIP logo

tamil-bible-database's Introduction

Tamil-Bible-Database

This is a project to maintain Tamil Ecumenical Bible in Unicode. The aim of this project is to make online Tamil Bible resemble as much as possible to the print edition. More specifically poems and quotations to resemble the print edition. The bible that is used for this purpose is the 2012 edition.

A live demo is available here. You can also like us on facebook.

Features of this library include

  • A MySQL database.
  • A PHP library to access and retrieve information.
  • Unlike other online Tamil Bibles, poems and quotations are displayed as they are in the print edition (that is they are formatted like poems and not like paragraphs).
  • Options to enable Red letter version of the bible is added. The logic to highlight red letter verses is in the code and not in the database (see redletter.php).

Requirements

  • PHP 5.4+ and PDO extension (Installed by default)
  • SQL database, preferably MySQL (but works with many others too)
  • The Medoo library - (Included in the library)

Points to Note

  • BibleLib folder contains PHP library to access and display the database

  • MySQL folder contains the MySQL dump of tables.

    • t_book_key.sql - Intro text, Book name for each book in the bible in various formats
    • t_verses - Contains bible verses
    • t_verseheaders - Contains headers
    • t_redletter.sql - Contains instructions for colouring the words spoken by Christ in red
    • t_crossref.sql and t_footnotes - Contains cross-ref and footnotes of the bible
    • t_errors.sql - Contains list of known typographical errors. This list can be found here
    • mybibleview_dyn - Contains view definition for merging all the above table in production so that it will be faster to process and retrive information
      • Please note that if your server does not allow you to create views, then follow the instructions at noviews.md
  • Unicode characters like ❮, ⁾, ₎, ␢, ⦃ and many others are used in the verses stored in the database to enable us to format the verses properly. The complete list can be found in bibleConfig.php

  • Please read the comments in the code defore customizing.

Verse ID System

After a long analysis, I decided to use verse ID system of scrollmapper/bible_databases. It is simpler and more effecient. Each verse is accessed by a unique key, the combination of the BOOK+CHAPTER+VERSE id. Example:

  • Genesis 1:1 (Genesis chapter 1, verse 1) = 01001001 (01 001 001)
  • Exodus 2:3 (Exodus chapter 2, verse 3) = 02002003 (02 002 003) The verse-id system is used for faster, simplified queries. For instance: 01001001 - 02001005 would capture all verses between Genesis 1:1 through Exodus 1:5. Written simply:
SELECT * FROM t_verses WHERE id BETWEEN 01001001 AND 02001005

Known Issues

  • Since Unicode characters are in the middle of verses, search function will not work properly if more than one word is used.

Suggestions or Comments

If you find any bug or suggest any improvement, please feel free to raise a pull request or contact me. You can also contribute by proof reading the bible. Check out our home page for more information.

tamil-bible-database's People

Contributors

jayarathina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tamil-bible-database's Issues

Inconsistencies in the database

The following inconsistencies are currently present in the database when compared to the print bible. These will not be fixed. The verses present in the database are closer to the source verse. Some of these are changes are included in the latest revision of the print bible (c. 2012 or later).

Additions to the verse are in bold. Deletions are struck out.

Verse
தொடக்க நூல் 1:24 அப்பொழுது கடவுள், “கால்நடைகள், ஊர்வன, காட்டுவிலங்குகள் ஆகியவற்றை அவ்வவற்றின் இனத்தின்படி நிலம் தோற்றுவிப்பதாக” என்றார். அது அவ்வாறே ஆயிற்று.
தொடக்க நூல் 12:5 ஆபிராம் தம் மனைவி சாராயையும் தம் சகோதரன் சகோதரனின் மகன் லோத்தையும் உடனழைத்துச் சென்றார். ...
தொடக்க நூல் 19:35 அவ்வாறே அன்றிரவும் தங்கள் தந்தையைத் திராட்சை மது குடிக்க வைத்தார்கள். இம்முறையும் அவள் இளையவள் சென்று படுத்துக்கொண்டதோ அவள் எழுந்து சென்றதோ அவருக்குத் தெரியாது.
தொடக்க நூல் 24:27 “என் தலைவர் ஆபிரகாமின் கடவுளாகிய ஆண்டவர் போற்றி! போற்றி! ...
தொடக்க நூல் 24:48 மேலும் நான் ஆண்டவரை வணங்கித் தொழுதேன். ஏனெனில் என் தலைவரின் சகோதரியின் சகோதரரின் மகளையே, ...
தொடக்க நூல் 30:36 தனக்கும் மீதமுள்ள தன் மந்தைகளை மேய்த்துவந்த யாக்கோபுக்கும் இடையில் மூன்று நாள் வழித்தூரம் இருக்கும்படியும் செய்துவிட்டான்.
தொடக்க நூல் 36:42 கெனாசு, தேமான், மிபுசார்,
தொடக்க நூல் 50:15 அப்பொழுது, யோசேப்பின் சகோதரர் தங்கள் தந்தை இறந்துவிட்டதைக் கண்டு, “யோசேப்பு நாம் அவருக்குச் செய்த அனைத்துத் தீமைகளையும் கருதி, இப்பொழுது நம்மை வெறுத்து உறுதியாகப் பழி வாங்குவர் வாங்குவார்” என்று எண்ணினர்.
விடுதலைப் பயணம் 12:35 இஸ்ரயேல் மக்கள் மோசேயின் வார்த்தையின்படி செயல்பட்டனர். அவர்கள் எகிப்தியரிடமிருந்து பொன், வெள்ளி அணிகலன்களையும் போர்வைகளையும் கேட்டு வாங்கினர்.
லேவியர் 19:22 ...அப்போது அவள் அவன் செய்த பாவம் மன்னிக்கப்படும்.
லேவியர் 27:22 ஒருவர், தன் குடும்பச் சொத்து அல்லாத ஒது ஒரு வயலை வாங்கி அதை ஆண்டவருக்கென நேர்ச்சையாகச் செலுத்தினால்,
லேவியர் 27:33 ... மாற்றினால் அவை இரண்டும் ஆண்டவருக்கெனப் பிரித்து வைக்கப்பட வேண்டாம் வேண்டும். அவை மீட்கப்படலாகா.
நீதித் தலைவர்கள் 7:25 ....யோர்தானுக்கு அப்பாலிருந்து அப்பாலிருந்த கிதியோனிடம் கொண்டு வந்தனர்.
நீதிமொழிகள் 6:23 கட்டளை என்பது ஒரு விளக்கு; அறவுரை அறிவுரை என்பது ஒளி;...
நீதிமொழிகள் 8:28 உலகத்தில் உயரத்தில் மேகங்களை அவர் அமைத்தபோது, ...
நீதிமொழிகள் 24:31 ... அதன் கற்சுவர் இடிந்து கிடந்தது.
எசாயா 29:22 ஆதலால் ஆபிராகாமை ஆபிரகாமை மீட்ட ஆண்டவர்
எசாயா 40:28 ..ஆண்டவரே என்றுமுள கடவுள்; அவரே விண்ணுலகின் மண்ணுலகின் எல்லைகளைப் படைத்தவர்; ...
எசாயா 48:3 ... என் தாய் வாய் மொழிந்தவற்றை அவர்கள் கேட்கச் செய்தேன்
எரேமியா 5:3 ...அவர்களோ திருந்த மறுத்தனர்; அவர்கள் தங்கள் முகத்தைப் பாறையினும் கடியதாக இறுக்கிக்கொண்டனர். என்னிடம் உம்மிடம் திரும்பிவர மறுத்தனர்.
எரேமியா 6:9 ...திராட்சைக் கொடிகளில் தப்புப் தப்பும் பழங்களை ஒன்றும் விடாது பறித்துச் சேர்ப்பது போல,
எரேமியா 48:36 ...என் இதயம் புல்லாங்குழல் போன்று சீர்செரேசின் கீர்கெரேசின் மனிதருக்காகச் சோகப் பண் இசைக்கிறது....
தானியேல் 11:37 அவன் தன் தந்தையர் வழிபட்ட தெய்வங்களையோ பெண்கள் விரும்பும் வேறெந்தத் தெய்வத்தையோ ...
செக்கரியா 6:6 ...வெண்ணிறக் குதிரைகள் அவற்றைப் பின்தொடர்ந்து போகின்றன புள்ளியுள்ள கறுப்புநிறக் குதிரைகளோ தென்னாட்டை நோக்கிச் செல்கின்றன...

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.