Welcome to the Versify! This repository contains code to parse and analyze the Bible using the NLTK Gutenberg corpus. You can search for similar Bible verses based on a theme using a Flask web application.
- Parse the entire Bible into books, chapters, and verses.
- Utilize TF-IDF vectorization to analyze verses.
- Predict similar verses based on user input using KMeans clustering.
- Interactive Flask web interface.
- Python
3.10.x
- Required Python libraries:
- nltk
- Flask
- scikit-learn
- numpy
- pickle
-
Clone this repository:
git clone https://github.com/Namit2111/bible-verse-finder.git cd bible-verse-finder/backend
-
Install the required packages:
pip install -r requirements.txt
-
Download the NLTK Gutenberg corpus:
import nltk nltk.download('gutenberg')
-
Run the Flask web application:
python app.py
-
Open your browser and navigate to
http://localhost:5000
. -
Enter a theme to find similar Bible verses!
-
Change directory to the
frontend
foldercd frontend
-
Run
npm install
inside the folder -
Navigate to
http://localhost:3000
-
Start the server as instructed above
-
Enter a theme to find similar Bible verses!
OR
This project is licensed under the terms of the GNU General Public License. See the LICENSE.md file for details.
- Inspired by the countless hours spent studying and reflecting on the Bible.
Contributions are welcome! Please read the CODE_OF_CONDUCT.md and CONTRIBUTING.md for guidelines.
Special Thanks to our Contributors!