scripture-guide 1.0.49 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/scriptdetect.js +2 -2
- package/package.json +1 -1
- package/test/data/en.txt +4 -1
- package/test/data/fr.txt +2 -1
package/data/scriptdetect.js
CHANGED
|
@@ -11,7 +11,7 @@ const findMatches = (content,books,lang_extra) => {
|
|
|
11
11
|
const tail = lang_extra.tail ? new RegExp(lang_extra.tail,"ig") : /[^0-9]+$/;
|
|
12
12
|
const preBookMatch = lang_extra.book || `(First|I|1|1st|Second|II|2|2nd|Third|III|3|3rd|Fourth|IV|4|4th)*\\s*(books* of)*\\s*`;
|
|
13
13
|
const matchingBooks = findMatchingBooks(content,books);
|
|
14
|
-
const postBookMatch = lang_extra.chapter || "([0-9:.;,~ —–-])*[0-9]+";
|
|
14
|
+
const postBookMatch = lang_extra.chapter || "([0-9:.;,~ —–-]|cf)*[0-9]+";
|
|
15
15
|
const fullBookMatches = matchingBooks.map(bookMatch=>{
|
|
16
16
|
const patternString = preBookMatch + bookMatch ;
|
|
17
17
|
const pattern = (new RegExp(patternString,"ig"));
|
|
@@ -92,7 +92,7 @@ const findMatches = (content,books,lang_extra) => {
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
function findMatchIndexes(content, matches,lookupReference, lang_extra) {
|
|
95
|
-
const tail = lang_extra.tail ? new RegExp(lang_extra.tail,"ig") : /[
|
|
95
|
+
const tail = lang_extra.tail ? new RegExp(lang_extra.tail,"ig") : /[^0-9]+$/;
|
|
96
96
|
const indexes = matches
|
|
97
97
|
.map(i=>{
|
|
98
98
|
const length = i.length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scripture-guide",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"description": "A utility for biblical and scripture reference parsing that enables structured queries based on strings of traditional scripture references (e.g. John 3:16). ",
|
|
5
5
|
"main": "scriptures-compiled.js",
|
|
6
6
|
"scripts": {
|
package/test/data/en.txt
CHANGED
|
@@ -27,4 +27,7 @@ WB includes “hindrance, opposition,” though both Jacob and Nephi knew of Jes
|
|
|
27
27
|
The combination of repentance, baptism, faith, and enduring to the end (along with the Holy Ghost) is identified as the doctrine of Christ at 2 Nephi 31.2–21, and the essence of the gospel at 3 Ne 27.13–22. Although Jacob in these two verses, and later Nephi (in ch. 31), speaks in general, abstract terms about baptism, there are no recorded baptisms in the BoM until Alma baptizes at Mos 18, nearly four hundred years later, where the practice appears to be something new.
|
|
28
28
|
<p>In the Joseph Smith Translation of the Bible, we read that “the Lord hath visited” Joseph, the son of Jacob spoken of in the Old Testament, and that Joseph was given great promises concerning his posterity (JST, Genesis 50:24). As Lehi testified, “Joseph truly saw our day” (2 Nephi 3:5), meaning the day of Lehi and his posterity, and knew that in the future God would raise up “a choice seer” (verse 7), namely the great prophet who was his namesake (see verse 15). Joseph knew also that it would be primarily his descendants whom the Lord would call upon first in these last days to carry the gospel to additional lost members of the house of Israel scattered among the nations of the earth, in compliance with the covenant God made with Abraham (see Bible Dictionary, “Joseph,” 716–17; Guide to the Scriptures, “Joseph, Son of Jacob”). Obviously, since the Lord kept His covenant with Joseph, He will also keep His covenants with us if we are righteous as well.</p><p>Lehi’s teaching is a great example of how Heavenly Father honored the covenant He made with Joseph. We can have the confidence that God will always honor His covenants.</p>
|
|
29
29
|
It is well to remember that the word Nephite apparently had a different meaning near the close of the Book of Mormon than it did before A.D. 231. (See 4 Nephi 20, 36-39.) From approximately 544 B.C. to A.D. 34 (Jacob 1:13-14) the term Nephite referred either to the descendants of Nephi and those who went with him into the wilderness (2 Nephi 5:5-8) or to those who joined with this group. From about A.D. 34 to nearly A.D. 194, there were not “any manner of -ites” among the descendants of Lehi. (4 Nephi 17.) By A.D. 194, however, a group of people revolted from the church and took upon themselves the name of Lamanites (4 Nephi 20), and by A.D. 231 those who had remained true to the church became known as Nephites (4 Nephi 36). For the remainder of the Book of Mormon, the term Nephite apparently refers to the descendants of those who had been faithful in A.D. 231.
|
|
30
|
-
*<p>The Land of Zarahemla represents a central and pivotal region in the historical narrative laid out in the Book of Mormon. Situated in the northern part of the land southward, this area was intersected by the River Sidon (Alma 2:15) and became a melting pot of various peoples, cultures, and political change. Initially founded by the Mulekites, who departed from the Old World and eventually migrated from their landing site in the land to the north, the land of Zarahemla was established in the sixth century B.C. (Omni 1:15, Alma 22:29-31). The city of Zarahemla and its people, led by a man named Zarahemla, were discovered by Mosiah1 and the Nephites around 200 B.C. as they fled the land of Nephi, leading to the unification of the two groups under Mosiah’s kingship (Omni 1:12-19).</p><p>The land and its capital city played host to pivotal historical events including the establishment of churches by Alma1, the commencement of the reign of judges with Alma2 as the first chief judge, and as the stage for military confrontations and the preaching of prophets such as Samuel the Lamanite (Mosiah 25:15-23, Mosiah 29:42, Hel. 13–16). It faced invasions and periods of occupation by the Lamanites interspersed with times of peace and righteous leadership (Alma 61-62:9, Hel. 1:14-33, Hel. 4:1-17).</p><p>The land of Zarahemla was eventually destroyed by fire during the cataclysmic events that accompanied the death of Jesus Christ (3 Ne. 8:8, 24; 9:3). Nonetheless, it was rebuilt and flourished in the first century A.D., only for its population and structures to be overwhelmed once more by conflicts between the Nephites and the Lamanites, leading up to Mormon’s narrative in the fourth century A.D. (4 Ne. 1:8, Morm. 1:6-7, Morm. 1:10). The Land of Zarahemla, as recounted in the Book of Mormon, stands as a witness to cycles of righteousness and wickedness, prosperity and desolation, and functions as a profound symbol within the overarching sacred history depicted in the text.</p>
|
|
30
|
+
*<p>The Land of Zarahemla represents a central and pivotal region in the historical narrative laid out in the Book of Mormon. Situated in the northern part of the land southward, this area was intersected by the River Sidon (Alma 2:15) and became a melting pot of various peoples, cultures, and political change. Initially founded by the Mulekites, who departed from the Old World and eventually migrated from their landing site in the land to the north, the land of Zarahemla was established in the sixth century B.C. (Omni 1:15, Alma 22:29-31). The city of Zarahemla and its people, led by a man named Zarahemla, were discovered by Mosiah1 and the Nephites around 200 B.C. as they fled the land of Nephi, leading to the unification of the two groups under Mosiah’s kingship (Omni 1:12-19).</p><p>The land and its capital city played host to pivotal historical events including the establishment of churches by Alma1, the commencement of the reign of judges with Alma2 as the first chief judge, and as the stage for military confrontations and the preaching of prophets such as Samuel the Lamanite (Mosiah 25:15-23, Mosiah 29:42, Hel. 13–16). It faced invasions and periods of occupation by the Lamanites interspersed with times of peace and righteous leadership (Alma 61-62:9, Hel. 1:14-33, Hel. 4:1-17).</p><p>The land of Zarahemla was eventually destroyed by fire during the cataclysmic events that accompanied the death of Jesus Christ (3 Ne. 8:8, 24; 9:3). Nonetheless, it was rebuilt and flourished in the first century A.D., only for its population and structures to be overwhelmed once more by conflicts between the Nephites and the Lamanites, leading up to Mormon’s narrative in the fourth century A.D. (4 Ne. 1:8, Morm. 1:6-7, Morm. 1:10). The Land of Zarahemla, as recounted in the Book of Mormon, stands as a witness to cycles of righteousness and wickedness, prosperity and desolation, and functions as a profound symbol within the overarching sacred history depicted in the text.</p>
|
|
31
|
+
From an infrastructural standpoint, the city of Nephi, or Lehi-Nephi, served as the principal hub, established by Nephi1 after his separation from his brethren and later inhabited by Zeniffite Nephite colonists under various rulers such as Zeniff, Noah3, and Limhi. The city’s location is inferred to be in a mountainous valley, given descriptions of the physical exertions related to traveling there, suggesting pronounced topographical features (Mosiah 7:2–6; cf. 9:3).
|
|
32
|
+
Concerning the message of the Spirit to Nephi: “It is better that one man should perish than that a nation should dwindle and perish in unbelief” (1 Nephi 4:13), John Welch and Heidi Parker produce recent research which shows that this “one for many” principle operated from a time much earlier in the Israelite culture.
|
|
33
|
+
|
package/test/data/fr.txt
CHANGED
|
@@ -2,4 +2,5 @@ Louis a lu 1 Néphi 5:3~4; Galates 1 et la comparrer a Luc 5:2 - 6, et a vut tou
|
|
|
2
2
|
Enos 1:2 is the only place where you will find Enos 1:2 at the same time.
|
|
3
3
|
C'est trouvé dans Enos 1:2, Genèse 3:15, et 1 Néphi 15:24.
|
|
4
4
|
2eme rois 3:5
|
|
5
|
-
|
|
5
|
+
Par exemple, dans 1 Néphi 5:5, Lehi exprime sa joie d’avoir obtenu une terre de promission et sa confiance que le Seigneur délivrera ses fils des mains de Laban. Cela souligne l’importance de la Terre promise et l’accomplissement des promesses faites à Lehi et à sa famille. De plus, dans 1 Néphi 8:13, Finalement, dans Mosiah 10:13, il est mentionné que Néphi était favorisé par le Seigneur en raison de sa fidélité à garder les commandements. Cette faveur divine a également joué un rôle dans la direction de leur voyage dans le désert, ce qui peut être considéré comme une préparation pour leur arrivée dans la Terre promise. En résumé, le point principal de ce passage est l’arrivée des voyageurs en Terre promise, marquant l’accomplissement des promesses divines et soulignant la fidélité du Seigneur envers son peuple. Ce passage peut être mis en relation avec d’autres Écritures qui parlent de la Terre promise et de la bénédiction accordée à ceux qui sont fidèles aux commandements du Seigneur.
|
|
6
|
+
La division des écrits de Néphi en deux livres, comme examinée dans l'article, révèle un dessein délibéré et structuré derrière la composition du Livre de Mormon. Dans le premier livre de Néphi, nous observons un récit qui se concentre sur la sortie du Vieux Monde, en mettant en lumière la vision de Néphi où il aperçoit la naissance du Christ et la miséricorde divine (1 Néphi 11:17). Cette emphase sur l'amour de Dieu forme, en quelque sorte, le noyau du message de Néphi. En revanche, le deuxième livre s'ouvre sur les derniers moments de Léhi et poursuit sur l'établissement de son peuple dans le Nouveau Monde, soulignant ainsi un passage vers une nouvelle phase dans l'existence de ses descendants. La structure chiastique de 1 Néphi, dont parlent des érudits, suggère aussi l’importance de reconnaître dans ces textes anciens une intention profonde et un schéma organisé, reflétant la main divine dans l'histoire de Néphi et de son peuple (voir Chiasmus in Antiquity). De surcroît, l'allusion aux bénédictions de Léhi à ses fils (2 Néphi 1-4), dans une continuité avec la tradition biblique d’Isaac (Genèse 27), signale la transmission d'une spiritualité et d'une autorité patriarcale. Cette segmentation en deux livres nous incite donc à approfondir notre compréhension des buts divins à travers les expériences vécues par ces figures scripturaires, illustrant comment l’écoute des commandements (2 Néphi 1:4, 2 Rois 25 concernant la destruction de Jérusalem) et la fidélité aux enseignements prophétiques assurent la guidance et la protection divines.
|