C Board  

Go Back   C Board > Community Boards > General Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 04-14-2005, 07:22 PM   #1
Chad Johnson
 
Join Date: May 2004
Posts: 154
Bible program - search functionality

Alright, so you guys know I'm making a Bible program. Thus far, it's at version 1.01, and it's at http://sourceforge.net/projects/aletheia.

Pretty soon I'm going to start adding some advanced search features. I think I have two options.
  1. I can make it work similarly to Google where you use + to include words, - to exclude words, and quotations to search for exact phrases. I would also allow for wildcard searches.

    The only problem with this method is that I'm not sure how I would allow for the user to specify words to leave out. I would like to keep the search text in one single text box.
  2. Do it all with a GUI, using radio buttons, with the following options:
  1. Exact phrase
  2. Require all words
  3. Any words
In both, I might include regular expression searching.

Do you guys think this much search capability is even necessary for searching the Bible? Which option do you think would be best for users?
ChadJohnson is offline   Reply With Quote
Old 04-14-2005, 08:11 PM   #2
Software Developer
 
jverkoey's Avatar
 
Join Date: Feb 2003
Location: University of Waterloo
Posts: 1,916
Quote:
Do you guys think this much search capability is even necessary for searching the Bible?
That sounds funny to think about.....ctrl-F'ing the bible.
jverkoey is offline   Reply With Quote
Old 04-14-2005, 09:12 PM   #3
Registered User
 
Join Date: Oct 2004
Posts: 32
I like the GUI approach - its more user friendly.

By the way, how do you plan to enter the entire text of the Bible? Do you just download it somewhere or do you have it from another Bible program or what?
trippeer is offline   Reply With Quote
Old 04-14-2005, 09:48 PM   #4
Chad Johnson
 
Join Date: May 2004
Posts: 154
Well I was thinking I'd just do like Martin Luther did, except with a computer, and type it all in myself. It should only take a year or so...haha, no, I found a couple public domain text files that have the verses line by line.

After finding the text, I just converted it to my own indexed format. Loads real fast. Everythings extremely fast - a lot more so than I imagined it would be.

So what do you people think I should do about the advanced search functionality?
ChadJohnson is offline   Reply With Quote
Old 04-15-2005, 03:09 AM   #5
and the hat of marbles
 
Sang-drax's Avatar
 
Join Date: May 2002
Location: Göteborg, Sweden
Posts: 2,038
Quote:
Originally Posted by ChadJohnson
Do you guys think this much search capability is even necessary for searching the Bible? Which option do you think would be best for users?
Absolutely!
The more search functions the better. I suggest a K-approximate search function to find misspellings.
The Bible names aren't the same in different countries, so misspellings will probably be common. For example Peter=Petrus, Luke=Lukas, Mary=Maria etc.
__________________
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
Sang-drax is offline   Reply With Quote
Old 04-15-2005, 06:15 AM   #6
Mayor of Awesometown
 
Govtcheez's Avatar
 
Join Date: Aug 2001
Location: MI
Posts: 8,826
> Do you guys think this much search capability is even necessary for searching the Bible? Which option do you think would be best for users?

Like Sang said, 100% necessary. This is a long book and people are going to want to search for specific phrases in it. You should have as many search options as possible.
__________________
-Govtcheez
govtcheez03@hotmail.com
Govtcheez is offline   Reply With Quote
Old 04-15-2005, 09:01 AM   #7
I like code
 
Rouss's Avatar
 
Join Date: Apr 2004
Posts: 131
I think some bibles have a section in the back with categories like 'marriage', 'death', '<everyday thing>', and it has a list of book/chapter/verse that relates to the topic. Something you might want to look into.
Rouss is offline   Reply With Quote
Old 04-15-2005, 09:09 AM   #8
Chad Johnson
 
Join Date: May 2004
Posts: 154
Yea I was thinking, if I put some kind of index or a table of contents, I would probably only need to have one and it would work for every version of the Bible.
ChadJohnson is offline   Reply With Quote
Old 04-15-2005, 11:33 PM   #9
Chad Johnson
 
Join Date: May 2004
Posts: 154
I can't find any kind of outline or table of contents for the Bible online. I think I'll get sued if I parse it off a site for any non-public domain versions, so I'm NOT doing that.

Does anyone know of anything like this that is public domain? Anyone know of any opensource Bible programs that have these things incorporated in them?

It has to be public domain and without copyright though...

By the way, can I possibly get sued if I parse text/commentaries/etc. off a web site that is public domain? I mean it's public domain and it's not like it's actually their property...

Last edited by ChadJohnson; 04-15-2005 at 11:36 PM.
ChadJohnson is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing a Unix Search Program, some questions Acolyte C Programming 3 09-23-2008 12:53 AM
An interesting challenge --> A word search program desipunjabi C Programming 5 11-12-2005 03:30 PM
Dikumud maxorator C++ Programming 1 10-01-2005 06:39 AM
Simple search program colinuk C Programming 6 12-18-2004 01:58 AM
search array program z.tron C++ Programming 3 11-15-2002 07:33 AM


All times are GMT -6. The time now is 10:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22