├── .prettierrc.json
├── .gitignore
├── .prettierignore
├── site
├── .npmrc
├── src
│ ├── react-app-env.d.ts
│ ├── home
│ │ ├── home.css
│ │ ├── growth.svg
│ │ ├── table.svg
│ │ ├── trend.svg
│ │ ├── speaker.svg
│ │ └── index.tsx
│ ├── word-counts
│ │ ├── index.css
│ │ ├── getWordCounts.test.ts
│ │ ├── getWordCounts.ts
│ │ └── index.tsx
│ ├── search-trends
│ │ ├── SearchTips.css
│ │ ├── emptySearch.tsx
│ │ ├── getSnippetFromResults.test.tsx
│ │ ├── SearchTips.tsx
│ │ ├── searchBar.tsx
│ │ ├── getSnippetFromResults.tsx
│ │ ├── getTrendData.tsx
│ │ ├── __snapshots__
│ │ │ └── getSnippetFromResults.test.tsx.snap
│ │ ├── getTrendData.test.tsx
│ │ ├── SearchResultsTable.tsx
│ │ └── index.tsx
│ ├── index.css
│ ├── header
│ │ ├── index.css
│ │ └── index.tsx
│ ├── setupTests.ts
│ ├── shared
│ │ ├── filters.css
│ │ ├── crunching.tsx
│ │ ├── useIsSmallScreen.ts
│ │ ├── getChartOptions.tsx
│ │ ├── useParameters.ts
│ │ ├── filters.test.tsx
│ │ ├── filters.tsx
│ │ └── data.ts
│ ├── usePageTracking.ts
│ ├── loading.tsx
│ ├── footer
│ │ └── index.tsx
│ ├── commonChartConfig.ts
│ ├── layout.tsx
│ ├── vocabulary-size
│ │ ├── getVocabularySize.test.ts
│ │ ├── getVocabularySize.ts
│ │ └── index.tsx
│ ├── growth
│ │ └── index.tsx
│ ├── index.tsx
│ └── methodology
│ │ └── index.tsx
├── public
│ ├── robots.txt
│ ├── favicon.ico
│ ├── logo192.png
│ ├── logo512.png
│ ├── manifest.json
│ ├── index.html
│ └── logo.svg
├── tsconfig.paths.json
├── craco.config.js
├── .gitignore
├── tsconfig.json
├── package.json
└── README.md
├── case2
├── constants.js
├── index.js
├── filterValidTalks.js
├── getTalks.test.js
├── getTalks.js
└── fixtures
│ ├── 17kacher_out.txt
│ ├── 55soares_out.txt
│ └── 55soares.html
├── README.md
├── package.json
├── .github
└── workflows
│ └── deploy-pages.yml
├── jest.config.mjs
└── case1
├── index.js
└── output
├── keyCollections.json
└── stats.json
/.prettierrc.json:
--------------------------------------------------------------------------------
1 | {}
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/site/.npmrc:
--------------------------------------------------------------------------------
1 | registry=https://registry.npmjs.org
--------------------------------------------------------------------------------
/site/src/react-app-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
Loading lots of cool data...
13 |23 | No stop-words are removed while searching. Search is exact (though 24 | not case-sensitive), including punctuation. 25 |
26 |27 | Searching for "eve" will include "eventually", "even", "never", etc. 28 | If you want just the word "eve" by itself, include spaces around the 29 | term (ie " eve "). 30 |
31 |
32 | You can use the filter button
RegEx allows you to do special searches. For example:
36 |43 | Learn more about RegEx{" "} 44 | 45 | here 46 | 47 | . 48 |
49 |52 | * Note that some{" "} 53 | 58 | stop-words 59 | {" "} 60 | are being filtered out 61 |
62 |Limitations:
54 |Limitations:
90 |101 | Please let me know by creating an issue in{" "} 102 | 103 | GitHub 104 | 105 | . 106 |
107 |111 | Please contribute by cloning{" "} 112 | 113 | this repository 114 | 115 | , and sending a pull request. 116 |
117 |
85 | This is an{" "}
86 |
87 |
92 | open-source
93 |
94 | {" "}
95 | online tool that analyzes the past{" "}
96 |
103 | Using the
116 | Using the{" "}
117 |
123 | By using linear regression, I was able to see a few long-term trends 124 | in some words, such as: 125 |
126 |153 | {createTrendLink("Second Coming", ["Second Coming"])},{" "} 154 | {createTrendLink("tithing", ["tithing"])}, and{" "} 155 | {createTrendLink("sabbath", ["sabbath"])} have spikes of usage. 156 |
157 |158 | It was a surprise to me that some terms I thought must certainly be 159 | increasing were actually not, such as{" "} 160 | {createTrendLink("pornography", ["pornograph(y|ic)"])},{" "} 161 | {createTrendLink("addiction", [" addicti(on|ve) "])},{" "} 162 | {createTrendLink("word of wisdom", ["word of wisdom"])},{" "} 163 | {createTrendLink("modesty", ["modesty"])} and{" "} 164 | {createTrendLink("drugs", [" drugs "])}. 165 |
166 |167 | Other terms were interesting to spot check, such as{" "} 168 | {createTrendLink("R-rated movies", [ 169 | "(\\WR.rat(ed|ing)\\W|\\Wrat(ed|ing).R\\W)", 170 | ])} 171 | , {createTrendLink("social media", [" social media "])},{" "} 172 | {createTrendLink("gambling", [" gambl(e|ing) "])},{" "} 173 | {createTrendLink("tattoos", ["tattoo(ing|ed)?"])} and{" "} 174 | {createTrendLink("LGBTQ", [ 175 | "(LGBT|homo.?sexual| gays |lesbian|same.?sex)", 176 | ])} 177 | . 178 |
179 |I have a dear friend who is a 6 | brilliant, retired university professor, a prolific author, and, 7 | above all, a committed disciple of Jesus Christ. He has visited 8 | the Holy Land dozens of times to participate in conferences, 9 | conduct academic research, and lead tours. According to him, 10 | every time he visits the land where Jesus walked, he marvels 11 | because he undoubtedly learns something new, astonishing, and 12 | fascinating about the Savior, His mortal ministry, and His 13 | beloved homeland. The awe my friend shows when he talks about 14 | all that he learns in the Holy Land is contagious, and this 15 | amazement has been fundamental in his great achievements and 16 | academic pursuits in his life.
17 |As I have listened to his 18 | experiences and felt of his enthusiasm, I have reflected on how 19 | much more spiritual wonder, so to speak, that we can and should 20 | feel for the gospel of Jesus Christ and the difference it can 21 | make in our discipleship and in our journey toward eternal life. 22 | The wonder I refer to is the sensation of emotion, awe, or 23 | amazement common to all who wholeheartedly center their lives on 24 | the Savior and His teachings and humbly recognize His presence 25 | in their lives. Such a feeling of wonder, inspired by the 26 | influence of the Holy Ghost, stimulates the enthusiasm to 27 | joyfully live the doctrine of Christ.1
30 |The scriptures contain several 31 | examples of how this sensation is manifest. The prophet Isaiah, 32 | for example, expressed the depth of his gratitude for the Lord 33 | through his rejoicing in Him.2 Those 36 | who heard Jesus preaching in the synagogue at Capernaum were 37 | astonished at His doctrine and the strength with which He 38 | taught.3 It 40 | was this same feeling that penetrated every fiber of young 41 | Joseph Smith’s heart as he read from the Bible the first 43 | chapter of James, leading him to seek the wisdom of 44 | God.4
46 |My brothers and sisters, when we 47 | truly are in awe of Jesus Christ and His gospel, we are happier, 48 | we have more enthusiasm for God’s work, and we recognize the 49 | Lord’s hand in all things. Additionally, our study of God’s 50 | words is more meaningful; our prayers, more intentional; our 51 | worship, more reverent; our service in God’s kingdom, more 52 | diligent. All these actions contribute to the Holy Spirit’s 53 | influence being more frequent in our lives.5 Thus, 56 | our testimony of the Savior and His gospel will be strengthened, 57 | we will keep Christ alive in us,6 and 60 | we will live our lives “rooted and built up in him, and 61 | stablished in the faith, … abounding therein with 62 | thanksgiving.”7 When 64 | we live in this way, we become more 65 | spiritually resilient and 66 | protected against falling into the trap of spiritual apathy.
67 |Such apathy is characterized by the 68 | gradual loss of our excitement to engage fully in the Lord’s 69 | gospel. It generally begins when we are feeling that we have 70 | already attained all the necessary knowledge and blessings for 71 | our happiness in this life. This complacency, so to speak, 72 | causes us to take the gospel gifts for granted, and from then 73 | on, we run the risk of neglecting both our regular immersion in 74 | the essentials of the gospel of Jesus Christ8 and 77 | the covenants we have made. Consequently, we gradually distance 78 | ourselves from the Lord, weakening our ability to “hear Him,”9 81 | becoming indifferent and insensitive to the greatness of His 82 | work. Doubt regarding the truths we have already received may 83 | enter our mind and heart, making us vulnerable to the enemy’s 84 | temptations.10
86 |Pastor Aiden Wilson Tozer, a 87 | renowned writer and valiant Christian, wrote, “Complacency is a 88 | deadly foe of all spiritual growth.”11 91 | Wasn’t this exactly what happened to the people of Nephi shortly 92 | after the birth of Christ? They “began to be less and less 93 | astonished at a sign or a wonder from heaven, … [disbelieving] 94 | all which they had heard and seen.” Thus did Satan “blind their 95 | eyes and lead them away to believe that the doctrine of Christ 96 | was a foolish and a vain thing.”12
99 |My beloved brothers and sisters, in 100 | His perfect and infinite love and knowing our human nature,13 the 103 | Savior has established the way for us to avoid falling into the 104 | trap of spiritual apathy. The Savior’s invitation gives us a 105 | broader perspective, especially considering the complex world in 106 | which we live: “Learn of me, and listen to my words; walk in the 107 | meekness of my Spirit, and you shall have peace in me.”14 As 110 | we accept the Savior’s invitation, we demonstrate our humility, 111 | our desire to be teachable, and our hope to become more like 112 | Him.15 114 | This invitation also includes serving Him and ministering to 115 | God’s children “with all [our] heart, might, mind and 116 | strength.”16 At 118 | the core of our effort in this journey are, of course, the two 119 | great commandments: to love the Lord our God and love our 120 | neighbor as ourselves.17
122 |This type of behavior is part of 123 | Jesus’s divine character and was evident in everything He did 124 | during His earthly ministry.18 127 | Therefore, when we intentionally and truly dedicate ourselves to 128 | look unto Him and learn from His perfect example,19 we 131 | come to know Him better. We grow in enthusiasm and desire to 132 | incorporate into our lives the ultimate standard of how we 133 | should live, the example we should set, and the commandments we 134 | should follow. We also gain additional understanding, wisdom, 135 | divine character, and grace toward God and our neighbors.20 I 138 | can assure you that our ability to feel the Savior’s influence 139 | and love will be intensified in our lives, magnifying our faith, 140 | our desire to act righteously, and the motivation to serve Him 141 | and others.21 In 143 | addition, our gratitude for the blessings and challenges we 144 | experience in mortality will solidify and become part of our 145 | true worship.22
147 |My dear 148 | friends, all these things 149 | strengthen our spiritual wonder regarding the gospel and move us 150 | to joyfully keep the covenants we make with the Lord—even in the 151 | midst of the trials and challenges we experience. Of course, for 152 | these outcomes to happen, we need to immerse ourselves with 153 | faith and real intent in the Savior’s teachings,23 156 | striving to incorporate His attributes into our way of being.24 In 159 | addition, we need to draw nearer to Him through our 160 | repentance,25 162 | seeking His forgiveness and His redeeming power in our lives and 163 | keeping His commandments. The Lord Himself promised that He 164 | would direct our paths if we would trust in Him with all our 165 | hearts, acknowledging Him in all our ways and not leaning on our 166 | own understanding.26
168 |A man I met recently, whose name is 189 | Wes and who is attending the conference today, accepted Christ’s 190 | invitation to learn of Him and of His gospel and began to 191 | experience the awe of His love after 27 years of distancing 192 | himself from the covenant path. He told me that one day he was 193 | contacted via Facebook by a missionary, Elder Jones, who was 194 | temporarily assigned to Wes’s area before going to his 195 | originally assigned mission in Panama. When Elder Jones came 196 | across Wes’s profile, not even knowing beforehand that he was 197 | already a member of the Church, he felt the guidance of the Holy 198 | Ghost and knew that he should immediately contact Wes. He 199 | quickly acted on this impression. Wes was amazed by this 200 | unexpected contact and began to realize that the Lord was aware 201 | of him despite his distance from the covenant path.
202 |From then on, Wes and the 203 | missionaries began to communicate frequently. Elder Jones and 204 | his companion provided weekly acts of service and spiritual 205 | messages that helped Wes to recover his awe of the Savior and 206 | His gospel. It rekindled the flame of his testimony of the truth 207 | and of the Savior’s love for him. Wes felt the peace that comes 208 | from the Comforter and gained the strength he needed to return 209 | to the fold. He told me that this experience brought him 210 | spiritually and emotionally back to life and helped him to 211 | eliminate the feelings of bitterness accumulated over the years 212 | because of the difficult experiences he had been through.
213 |As my aforementioned thoughtful 214 | professor friend has observed, there is always something 215 | wonderful and fascinating to learn about Jesus Christ and His 216 | gospel.27 The 218 | Lord has made wonderful promises that are extended to all those, 219 | including us, who seek to learn of Him and incorporate His words 220 | into their lives. To Enoch, He said, “Behold my Spirit [shall 221 | be] upon you, wherefore all thy words will I justify; and the 222 | mountains shall flee before you, and the rivers shall turn from 223 | their course; and thou shalt abide in me, and I in you.”28 226 | Through His servant King Benjamin, He declared, “Ye shall be 227 | called the children of Christ, his sons, and his daughters; for 228 | behold, this day he hath spiritually begotten you; for ye say 229 | that your hearts are changed through faith on his name; 230 | therefore, ye are born of him and have become his sons and his 231 | daughters.”29
233 |Therefore, as we genuinely and 234 | continually strive to learn of the Savior and follow His 235 | example, I promise you, in His name, that His divine attributes 236 | will be written in our minds and hearts,30 239 | that we will become more like Him, and that we will walk with 240 | Him.31
242 |My beloved brothers and sisters, I 243 | pray that we will ever stand in awe of Jesus Christ and His 244 | complete, infinite, and perfect love. May the remembrance of 245 | what our eyes have seen and our hearts have felt increase our 246 | amazement at the Savior’s atoning sacrifice, which can heal us 247 | of our spiritual and emotional wounds and help us to draw closer 248 | to Him. May we marvel at the great promises that the Father has 249 | in His hands and that He has prepared for those who are 250 | faithful:
251 |“The kingdom is yours and the 252 | blessings thereof are yours, and the riches of eternity are 253 | yours.
254 |“And he who receiveth all things 255 | with thankfulness shall be made glorious.”32
258 |Jesus is the Redeemer of the world, 259 | and this is His Church. I bear witness of these truths in the 260 | awe-inspiring, sacred, and sublime name of our Savior, Jesus 261 | Christ, amen.
262 |