Hey this is excellent! I just finished a survey philosophy course which started off with the Gita and continually returned to it, I was super disappointed when I found most online editions plastered with ads and barely readable (by modern standards).
I agree with the other commenter, I expected clicking on a verse would jump me that position in the whole body of text, but I'm sure this is just your starting point. Well done OP
So thankful! The whole body of text as in you can see below and above quotes or how do you envision the UI when you click on the quote?
Would you also like this for other types of philosophy too? Shiva Sutras? Buddha? Zen?
When I type "entitled" I get matches for "entities", "There", "Divine" and lot of others. Does it search for every single letter of the search term? That doesn't seem very useful.
Hey! Excellent Work!
Just found a typo in following sentence:
"I am the wind among the purifiers and Lord Rama among the warriors. I am the crocodile among the fishes and the holy Gariga among the rivers. (10.31)"
Yes to both, if possible. I read the Gita first when given a free copy by the ISKC (Hare Krishnas) in Brooklyn back in 1978. Then I read all sorts of texts after taking a comparative religion class in high school. I'd love to have this to study it better.
I feel like the transliteration issues may be pretty complex! Someone using the site might choose to search for any of
यदा यदा हि धर्मस्य (in Unicode)
yadā-yadā hi dharmasya
yadā yadā hi dharmasya
yadaa yadaa hi dhamasya
yada yada hi dharmasya
If you want to allow search using transliteration, there are a number of interesting algorithmic and non-algorithmic questions about the range of different transliteration mechanisms that people may use.
Also, for a reason that I don't quite understand, people transliterating Sanskrit can be very inconsistent about where they do and don't transcribe spaces. Are the spaces perhaps not present in the original? For example ग्लानिर्भवति might be transcribed as "glānir bhavati" or "glānirbhavati", which may also be treated differently for search purposes.
(I don't actually know any Sanskrit; I'm just interested in linguistics and writing systems.)
What I like about fuzzy search is that if I search something like 'Constant Remembrance' which is a spiritual concept but it doesn't exist in those exact words in the Gita, fuzzy search comes up with a quote quite close to the concept simply because it is fuzzy. How would full text search work? Would it come up with zero results if the search was not precise?
Exactly. That's how it should work. I searched "love" and got passages "Lord Krishna [...] grieve" which the search included because of LO (from LOrd) and VE (from grieVE) - no mention at all of "love," so not what I was looking for. Just go with standard search.
I agree with the other commenter, I expected clicking on a verse would jump me that position in the whole body of text, but I'm sure this is just your starting point. Well done OP