Search engine for text books, focusing in on the data structure for storing files and algorithms for search, insertion and deletion.
- Download Books from https://www.gutenberg.org/browse/scores/top using python script
- Format the books using python script //removes unwanted text form start and end of the book
cd python
python3 pull_books.py
python3 format_books.py
cd ..- Make sure you have CMake installed
you can check this by runningcmake --version - Open command prompt and run the following commands in the project directory
mkdir build
cd build
cmake ..
cmake --build .- Make sure you have CMake installed
you can check this by runningcmake --version - Open a terminal and run the following command in the project directory
./rebuld- Open a terminal/command prompt and change directory into the
builddirectory - Run the following command to run the application:
cd build
./App- Open a terminal/command prompt and change directory into the
builddirectory - Run the following command to run the application:
ctest-
Once the application is running, you can use the following commands to interact with the application:
1- reload index books, if a new book is added this will update the index2: search books for key word3 <word>: search books for a specific word4: exit the application

