{"id":16272220,"url":"https://github.com/eliranwong/bible-verse-parser","last_synced_at":"2025-06-16T11:38:22.674Z","repository":{"id":107360357,"uuid":"162624280","full_name":"eliranwong/bible-verse-parser","owner":"eliranwong","description":"A python parser to parse bible verse references in plain text file(s)","archived":false,"fork":false,"pushed_at":"2021-01-29T09:40:20.000Z","size":493,"stargazers_count":17,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T08:01:56.368Z","etag":null,"topics":["abbreviation","apocrypha","bible","canon","marvel-bible","parse","python","reference","sbl","scripture","standard","verse"],"latest_commit_sha":null,"homepage":"https://marvel.bible","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eliranwong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-20T19:42:18.000Z","updated_at":"2024-10-25T20:44:04.000Z","dependencies_parsed_at":"2023-05-17T06:15:54.267Z","dependency_job_id":null,"html_url":"https://github.com/eliranwong/bible-verse-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eliranwong/bible-verse-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranwong%2Fbible-verse-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranwong%2Fbible-verse-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranwong%2Fbible-verse-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranwong%2Fbible-verse-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliranwong","download_url":"https://codeload.github.com/eliranwong/bible-verse-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliranwong%2Fbible-verse-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260151487,"owners_count":22966524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abbreviation","apocrypha","bible","canon","marvel-bible","parse","python","reference","sbl","scripture","standard","verse"],"created_at":"2024-10-10T18:16:45.420Z","updated_at":"2025-06-16T11:38:22.649Z","avatar_url":"https://github.com/eliranwong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bible-verse-parser\nA python parser to parse bible verse references from a text.\n\nThis was originally created to tag resources for building \u003ca href=\"https://marvel.bible\"\u003ehttps://marvel.bible\u003c/a\u003e.\u003cbr\u003e\nThe script is now modified for general use.\n\nThis script is now adapted to become a core utility in \u003ca href=\"https://github.com/eliranwong/UniqueBible\" target=\"_blank\"\u003eUniqueBible.app project\u003c/a\u003e.\n\n# Features:\n1. Search for verse references from text file(s)\n2. Add taggings on verse references\n3. Support books of bible canon and apocrypha\n4. Support tagging on chains of refernces, e.g. Rom 1:2, 3, 5, 8; 9:2, 10\n5. Support books of one chapter only, like Obadiah 2, Jude 3, 3John 4, etc.\n6. Support chapter references [references without verse number specified], e.g. Gen 1, 3-4; 8, 9-10.\n7. Support standardisation of book abbreviations and verse reference format.\n8. Support parsing multiple files in one go.\n9. Support extracting all references in a text.  (This feature is especially useful for bulding indexes.)\n10. Support tagging on range(s) of verses\n\n# Main file: \n\u003ca href=\"https://github.com/eliranwong/bible-verse-parser/blob/master/BibleVerseParser.py\"\u003eBibleVerseParser.py\u003c/a\u003e [written with python version 3.6+]\n\nUse \"BibleVerseParser.py\" together with \"BibleBooks.py\" \u0026 \"RegexSearch.py\" in the same directory.\n\n# Usage:\n\nTag a file, where [file] is the filename:\n\n\u003e python3 BibleVerseParser.py [file]\n\nTag all files in a folder, where [folder] is the folder name:\n\n\u003e python3 BibleVerseParser.py [folder]\n\nInteractive Mode:\n\n\u003e python3 BibleVerseParser.py\n\n# Format of tagging:\ne.g. John 3:16 is tagged as \u0026lt;ref onclick=\"bcv(43,3,16)\"\u0026gt;John 3:16\u0026lt;/ref\u0026gt;\u003cbr\u003e\ne.g. John 3:14-16 is tagged as \u0026lt;ref onclick=\"bcv(43,3,14,3,16)\"\u0026gt;John 3:14-16\u0026lt;/ref\u0026gt;\u003cbr\u003e\ne.g. John 3:14-4:3 is tagged as \u0026lt;ref onclick=\"bcv(43,3,14,4,3)\"\u0026gt;John 3:14-4:3\u0026lt;/ref\u0026gt;\n\n# User Interaction:\nPrompting question (1) \"Enter a file / folder name here: \"\u003cbr\u003e\nEnter the name of a file, which you want to parse.\nOR\nEnter the name of a directory containing files, which you want you parse.\n\nPrompting question (2) \"Do you want to standardise the format of all bible verse references? [YES/NO] \"\u003cbr\u003e\nEnter YES if you want to standardise all verse references with SBL-style-abbreviations and common format like Gen 2:4; Deut 6:4, etc.\u003cbr\u003e\nAny answers other than \"YES\" [case-insensitive] skip the standarisation.\n\n# Dart Version\nThis bible-verse-parser is available in Dart programming language.\u003cbr\u003e\nhttps://github.com/eliranwong/DartBible/blob/master/lib/BibleParser.dart\n\n# A practical example:\n\nCopy files \"bible-verse-parser.py\" and \"dictionary-for-testing.txt\" and put in the same folder\u003cbr\u003e\n(Remarks: \"dictionary-for-testing.txt\" is the Mounce Concise Greek-English Dictionary in plain text format)\u003cbr\u003e\n(bible-verse-parser.py is used here to add taggings for bible verse references.)\u003cbr\u003e\n\nEnter command in terminal: python bible-verse-parser.py\u003cbr\u003e\n\"Enter a file / folder name here: \" dictionary-for-testing.txt\u003cbr\u003e\n\"Do you want to standardise the format of all bible verse references? [YES/NO] \" YES\u003cbr\u003e\nYou can find the output file in the same folder named as \"output_dictionary-for-testing.txt\"\u003cbr\u003e\n\n# Credits of file \"dictionary-for-testing.txt\"\n\nSource: \u003ca href=\"https://github.com/billmounce/dictionary/blob/master/dictionary.txt\"\u003ehttps://github.com/billmounce/dictionary/blob/master/dictionary.txt\u003c/a\u003e\n\nAttribution:\u003cbr\u003e\nMounce Concise Greek-English Dictionary\u003cbr\u003e\nCopyright 1993 All Rights Reserved\u003cbr\u003e\nwww.teknia.com/greek-dictionary\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliranwong%2Fbible-verse-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliranwong%2Fbible-verse-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliranwong%2Fbible-verse-parser/lists"}