Torah Bible Codes - Open-Source Python
HOMEPAGE URL: https://TorahBibleCodes.com
https://www.TorahBibleCodes.com
GITHUB: @TorahBibleCodes https://github.com/torahbiblecodes
READ THE DOCS: @TorahBibleCodes https://torahbiblecodes-sphinx.readthedocs.io/en/latest/index.html
ACADEMIA: https://www.academia.edu/104334275
STACKOVERFLOW: @TorahBibleCodes https://stackoverflow.com/users/8911652/torahbiblecodes
TWITTER: @TorahBibleCodes https://twitter.com/TorahBibleCodes
YOUTUBE: @TorahBibleCodes https://www.youtube.com/@TorahBibleCodes
YOUTUBE: @TorahBibleCodes https://www.youtube.com/channel/UCNsvtMx4JJRpNzzPq57HCqg
GIVESENDGO: @TorahBibleCodes https://www.givesendgo.com/torahbiblecodes
https://github.com/TorahBibleCodes/TorahBibleCodes/issues
Active Development: In Progress
07 / AUGUST / 2024
DEVELOPMENT UPDATE: COMING SOON: UPCOMING SOFTWARE UPDATE
1. Choice of Codices (i.e. Collections of Manuscripts): A. Koren; B. Leningrad; C. Miqra According to Masorah (MAM) - based on Aleppo Codex.
2. Possibility to search several texts as one complete book (as they were in antiquity): A. Samuel; B. Kings; C. Ezra-Nehemiah; D. Chronicles.
3. Multiple Batch ELSs Searches via simple EXCEL / CSV user-input file with UNLIMITED ELS SEARCH TERMS.
4. Search Progress Bar with count of search terms, measurement of search time per search term, as well as estimation of total search time.
5. Custom Skip Distances (d) according to User Input.
6. Spaces in ELS Search Terms are elegantly handled by the program.
7. Letter Statistics for every text for every search.
Please support our efforts if you can by donating via GIVESENDGO:
https://www.givesendgo.com/torahbiblecodes
OR via BITCOIN (BTC) to the following addresses:
bc1qzws4zjgzf4wll2mtztsavmyvkg72fnajfff8r7
16 / JULY / 2023
DEVELOPMENT UPDATE: POC (BETA) WORKING: TorahBibleCodes: Free, Open-Source Python Equidistant Letter Sequences (ELS) Hebrew Bible Search Software
ACADEMIC WHITE PAPER EXPLAINING HOW TORAH BIBLE CODES SOFTWARE WORKS: https://www.academia.edu/104334275
TWITTER: @TorahBibleCodes https://twitter.com/TorahBibleCodes
YOUTUBE: @TorahBibleCodes https://www.youtube.com/@TorahBibleCodes
YOUTUBE: @TorahBibleCodes https://www.youtube.com/channel/UCNsvtMx4JJRpNzzPq57HCqg
BETA DEVELOPMENT PROGRAM (WORK-IN-PROGRESS) UPLOADED; More to come ASAP GOD-willing.
Please support our efforts if you can by donating via GIVESENDGO:
https://www.givesendgo.com/torahbiblecodes
OR via BITCOIN (BTC) to the following addresses:
bc1qzws4zjgzf4wll2mtztsavmyvkg72fnajfff8r7
Witztum, Rips, and Rosenberg (WRR) define an Equidistant Letter Sequence (ELS) as a sequence of letters in the text whose positions - not counting spaces - form an arithmetic progression. That is to say the letters are found at the positions
n, (n + d), (n + 2d), (n + 3d),... (n + (k - 1)d)
WRR define n as the start, d as the skip between letters in the search-term, and k as the length of the ELS. These three parameters uniquely identify the ELS which is denoted (n, d, k).
A. KOREN CODEX: https://users.cecs.anu.edu.au/~bdm/dilugim/StatSci/data.html
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/blob/master/json/Tanakh/Torah/Genesis/Hebrew/Tanach%20with%20Text%20Only.json
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
A. KOREN CODEX: https://users.cecs.anu.edu.au/~bdm/dilugim/StatSci/data.html
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/blob/master/json/Tanakh/Torah/Exodus/Hebrew/Tanach%20with%20Text%20Only.json
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
A. KOREN CODEX: https://users.cecs.anu.edu.au/~bdm/dilugim/StatSci/data.html
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/blob/master/json/Tanakh/Torah/Leviticus/Hebrew/Tanach%20with%20Text%20Only.json
KOREN CODEX: https://users.cecs.anu.edu.au/~bdm/dilugim/StatSci/data.html
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
A. KOREN CODEX: https://users.cecs.anu.edu.au/~bdm/dilugim/StatSci/data.html
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/blob/master/json/Tanakh/Torah/Numbers/Hebrew/Tanach%20with%20Text%20Only.json
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
A. KOREN CODEX: https://users.cecs.anu.edu.au/~bdm/dilugim/StatSci/data.html
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/blob/master/json/Tanakh/Torah/Deuteronomy/Hebrew/Tanach%20with%20Text%20Only.json
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
B. LENINGRAD CODEX: https://github.com/TorahBibleCodes/Sefaria-Export/tree/master/json/Tanakh
C. Miqra According to the Masorah (MAM) CODEX: (COMING SOON)
READ THE DOCS: @TorahBibleCodes https://torahbiblecodes-sphinx.readthedocs.io/en/latest/index.html
TEST DEVELOPMENT (BETA): MOVE TO --> READ THE DOCS: @TorahBibleCodes https://torahbiblecodes-sphinx.readthedocs.io/en/latest/index.html
After running the Python file p.py, several Python / Pandas Objects are returned to you to interact with and further develop per your needs;
We are currently developing the functionalities in the program to provide certain (many) specific data points, data objects, etc. so that scientifically repeatable (and therefore verifiable) results can be precisely measured, shared, tested, and either confirmed or disproved.
The current BETA DEVELOPMENT version of the program does the following:
- Allows the user to select any text(s) from the Torah (Instruction) / Nevi'im (Prophets) / K'tuvim (Writings) of the Tanach (Hebrew Bible).
- Allows the user to choose a custom size of the 2D Matrix (X Rows by Y Columns) for the user-selected text(s) to be outputted to a CSV EXCEL file (CAUTION: Numbers approaching 1000 for X Rows will exceed the maximum allowed by EXCEL, and therefore will truncate the text).
- Allows the user to choose the number of desired ELS Search-Terms.
- Allows the user to input those specified ELS Search-Terms (NOTE: These must be typed in Hebrew characters, else EXCEPTION IS THROWN).
- Outputs CSV EXCEL file of the 2D Matrix for the selected text(s).
- Outputs CSV EXCEL file of the Gematria Number values for each word AND letter in the selected text(s)
- Outputs CSV EXCEL file of the Gematria Number values for each word AND letter in the ELS Search-Terms
- Outputs CSV EXCEL file of the ELS Search Term Matches (both POSITIVE and NEGATIVE): Testing of several (best?) ways / algorithms for ELS Search within the text; Currently investigating REGEX, PANDAS, PURE PYTHON LINEAR SEARCH, etc.; Please see and examine the Python / Pandas Data Objects returned to see current capabilities in development.
- IN DEVELOPMENT: Outputs CSV EXCEL file of the Data Points for each letter and each word of each of the ELS Search-Terms so that precise, exact positions, shared positions, letter-proximity, statistical probability, etc. of letters will be scientifically verifiable and reproduceable.
We invite you to share your open-source (alternative/multiple?) solutions of further development of this open-source program (e.g. add-ons, additional features, functionalities, GUIs, etc.), as well as scientific research using these software research tools with the community to allow confirmation of your discoveries and data, which will lead to further shared advancement and mutual benefit for us all
Program Concepts: Objects - D (DS), DL, D5, D5K, L (LLL), S (SSS), N (NW), W (DW), ListOfWords, NW4ELS, W4ELS (DW4ELS), LO (DLO), ELSO (DELSO), gso;
READ THE DOCS: @TorahBibleCodes https://torahbiblecodes-sphinx.readthedocs.io/en/latest/index.html
TEST DEVELOPMENT (BETA): MOVE TO --> READ THE DOCS: @TorahBibleCodes https://torahbiblecodes-sphinx.readthedocs.io/en/latest/index.html
n, (n + d), (n + 2d), (n + 3d)... (n + (k-1)d)
sL[6] ## == 'ת' == (n) ## WHEN TEXT SELECTED == 1 GENESIS
sL[6+50] ## == 'ו' == (n + d)
sL[6+50+50] ## == 'ר' == (n + 2d)
sL[6+50+50+50] ## = 'ה' == (n + 3d) ## k == 4 == LengthOfELSSearchTerm
sL[6] ## == 'ת' == (n) ## WHEN TEXT SELECTED == 1 GENESIS
sL[56] ## == 'ו' == (n + d)
sL[106] ## == 'ר' == (n + 2d)
sL[156] ## = 'ה' == (n + 3d)
sL.str.startswith("ב") --> Returns Boolean (True/False) for each match (True) and for each non-match (False)
sL.str.endswith("ב") --> Returns Boolean (True/False) for each match (True) and for each non-match (False)
sL.str.find("ב") --> Returns Boolean-like (0 / -1) for each match (0) and for each non-match (-1)
sL.str.rfind("ב") --> Returns Boolean-like (0 / -1) for each match (0) and for each non-match (-1)
- len(sL) --> Total Number of Letters in the Pandas Series s --> Equal to len(S); len(L); len(DL); len(D5); len(N)
- len(S) --> Total Number of Letters in the Python String S --> Equal to len(sL); len(L); len(DL); len(D5); len(N)
- len(L) --> Total Number of Letters in the Python List L --> Equal to len(sL); len(S); len(DL); len(D5); len(N)
- len(DL) --> Total Number of Letters in the Python Dictionary DL with 4-digit Tuple Key --> Equal to len(sL); len(S); len(L); len(D5); len(N)
- len(D5) --> Total Number of Letters in the Python Dictionary D5 with 5-digit Tuple Key --> Equal to len(sL); len(S); len(L); len(DL); len(N)
- len(N) --> Total Number of Numbers in the Python List N --> Equal to len(sL); len(S); len(L); len(DL); len(D5)
Total Number of Verses in Torah (KOREN CODEX): 5846 (excluding error of Numbers 25:19 in Michigan Claremont Transliteration)
Total Number of Letter א Aleph in Torah: 27060
Total Number of Letter ב Bet in Torah: 16345
Total Number of Letter ג Gimel in Torah: 2109
Total Number of Letter ד Daled in Torah: 7032
Total Number of Letter ה Heh/Hey/Hay in Torah: 28055
Total Number of Letter ו Vav in Torah: 30533
Total Number of Letter ז Zayin in Torah: 2198
Total Number of Letter ח Ḥet in Torah: 7189
Total Number of Letter ט Tet in Torah: 1804
Total Number of Letter י Yud in Torah: 31556
Total Number of Letter כ Khaf in Torah: 8610
Total Number of Letter ך Khaf Sofit in Torah: 3358
Total Number of Letter ל Lamed in Torah: 21570
Total Number of Letter מ Mem in Torah: 14466
Total Number of Letter ם Mem Sofit in Torah: 10624
Total Number of Letter נ Nun in Torah: 9867
Total Number of Letter ן Nun Sofit in Torah: 4259
Total Number of Letter ס Samekh in Torah: 1833
Total Number of Letter ע 'Ain in Torah: 11250
Total Number of Letter פ Peh/Pey/Pay in Torah: 3975
Total Number of Letter ף Peh/Pey/Pay Sofit in Torah: 830
Total Number of Letter צ Tzadik in Torah: 2927
Total Number of Letter ץ Tzadik Sofit in Torah: 1035
Total Number of Letter ק Kuf in Torah: 4695
Total Number of Letter ר Resh in Torah: 18125
Total Number of Letter ש Shin in Torah: 15595
Total Number of Letter ת Taf in Torah: 17950
Total Number of Letter א in Book of Genesis (LENINGRAD CODEX): 7634
Total Number of Letter ב in Book of Genesis: 4332
Total Number of Letter ג in Book of Genesis: 577
Total Number of Letter ד in Book of Genesis: 1848
Total Number of Letter ה in Book of Genesis: 6283
Total Number of Letter ו in Book of Genesis: 8447
Total Number of Letter ז in Book of Genesis: 428
Total Number of Letter ח in Book of Genesis: 1844
Total Number of Letter ט in Book of Genesis: 308
Total Number of Letter י in Book of Genesis: 9041
Total Number of Letter כ in Book of Genesis: 1909
Total Number of Letter ך in Book of Genesis: 865
Total Number of Letter ל in Book of Genesis: 5275
Total Number of Letter מ in Book of Genesis: 3421
Total Number of Letter ם in Book of Genesis: 2689
Total Number of Letter נ in Book of Genesis: 2776
Total Number of Letter ן in Book of Genesis: 1009
Total Number of Letter ס in Book of Genesis: 446
Total Number of Letter ע in Book of Genesis: 2823
Total Number of Letter פ in Book of Genesis: 890
Total Number of Letter ף in Book of Genesis: 313
Total Number of Letter צ in Book of Genesis: 740
Total Number of Letter ץ in Book of Genesis: 351
Total Number of Letter ק in Book of Genesis: 1301
Total Number of Letter ר in Book of Genesis: 4793
Total Number of Letter ש in Book of Genesis: 3574
Total Number of Letter ת in Book of Genesis: 4152
Total Number of Letter א in Hebrew Bible: 95685
Total Number of Letter ב in Hebrew Bible: 65216
Total Number of Letter ג in Hebrew Bible: 10080
Total Number of Letter ד in Hebrew Bible: 32371
Total Number of Letter ה in Hebrew Bible: 101962
Total Number of Letter ו in Hebrew Bible: 129606
Total Number of Letter ז in Hebrew Bible: 9099
Total Number of Letter ח in Hebrew Bible: 27598
Total Number of Letter ט in Hebrew Bible: 6310
Total Number of Letter י in Hebrew Bible: 137870
Total Number of Letter כ in Hebrew Bible: 33466
Total Number of Letter ך in Hebrew Bible: 14002
Total Number of Letter ל in Hebrew Bible: 88302
Total Number of Letter מ in Hebrew Bible: 57638
Total Number of Letter ם in Hebrew Bible: 41291
Total Number of Letter נ in Hebrew Bible: 39852
Total Number of Letter ן in Hebrew Bible: 15241
Total Number of Letter ס in Hebrew Bible: 7635
Total Number of Letter ע in Hebrew Bible: 44811
Total Number of Letter פ in Hebrew Bible: 15730
Total Number of Letter ף in Hebrew Bible: 2554
Total Number of Letter צ in Hebrew Bible: 11689
Total Number of Letter ץ in Hebrew Bible: 3288
Total Number of Letter ק in Hebrew Bible: 16278
Total Number of Letter ר in Hebrew Bible: 68064
Total Number of Letter ש in Hebrew Bible: 58198
Total Number of Letter ת in Hebrew Bible: 63206