Enhancing Bible Verse Search Through Topic Modeling: An LDA-Based Approach

Keyword-based Bible searches often fail to capture deeper thematic connections between verses. This study presents a Bible search system leveraging Latent Dirichlet Allocation (LDA) to retrieve verses based on topical relevance rather than exact word matches. The system preprocesses Bible passages-primarily from the English Standard Version (ESV)-by tokenizing, removing stop words, and transforming text into a bag-of-words representation. A trained LDA model assigns probabilistic topic distributions, enabling context-aware verse retrieval. The search algorithm balances statistical topic modeling with lexical keyword matching using a weighted scoring function. Evaluation results show a significant advantage of LDA over traditional keyword searches. While keyword methods had 0% accuracy in finding relevant themes like Trustworthiness of God, Money, and Anxiety, the LDA method was better, achieving 33% to 67% accuracy by finding verses that were related to the themes, even if they didn't have the exact keywords. However, this improved relevance comes at the cost of increased retrieval time (17–23 seconds) compared to the much faster keyword search (approximately 0.04 seconds). These findings underscore LDA's strength in uncovering meaningful theological connections that keyword search overlooks. Implemented as a Flask-based web application, the system enables efficient ranking and retrieval of Bible verses for personal study, sermon preparation, and theological research. Future improvements might include using semantic similarity models to make the results more accurate and speed up the retrieval process.

Authors

Institutions

Publication Details

Published
2025-04-16
DOI
https://doi.org/10.1109/ictcs65341.2025.10989430
Primary Topic
Advanced Text Analysis Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Bible Verse Search Through Topic Modeling: An LDA-Based Approach

Melvin A. Ballera, Mary Ann E. Ignaco
Advanced Text Analysis Techniques
article

Enhancing Bible Verse Search Through Topic Modeling: An LDA-Based Approach

Melvin A. Ballera, Mary Ann E. Ignaco
article en

Abstract

Keyword-based Bible searches often fail to capture deeper thematic connections between verses. This study presents a Bible search system leveraging Latent Dirichlet Allocation (LDA) to retrieve verses based on topical relevance rather than exact word matches. The system preprocesses Bible passages-primarily from the English Standard Version (ESV)-by tokenizing, removing stop words, and transforming text into a bag-of-words representation. A trained LDA model assigns probabilistic topic distributions, enabling context-aware verse retrieval. The search algorithm balances statistical topic modeling with lexical keyword matching using a weighted scoring function. Evaluation results show a significant advantage of LDA over traditional keyword searches. While keyword methods had 0% accuracy in finding relevant themes like Trustworthiness of God, Money, and Anxiety, the LDA method was better, achieving 33% to 67% accuracy by finding verses that were related to the themes, even if they didn't have the exact keywords. However, this improved relevance comes at the cost of increased retrieval time (17–23 seconds) compared to the much faster keyword search (approximately 0.04 seconds). These findings underscore LDA's strength in uncovering meaningful theological connections that keyword search overlooks. Implemented as a Flask-based web application, the system enables efficient ranking and retrieval of Bible verses for personal study, sermon preparation, and theological research. Future improvements might include using semantic similarity models to make the results more accurate and speed up the retrieval process.

Technological Institute of the Philippines (PH)
Quality Education
Openalex Percentile: Top 95%
Advanced Text Analysis Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Enhancing Bible Verse Search Through Topic Modeling: An LDA-Based Approach — Melvin A. Ballera, Mary Ann E. Ignaco · (2025) | TGRS Research Map | TGRS