A universal subhAShita database.

158 views
Skip to first unread message

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Mar 25, 2017, 9:12:12 PM3/25/17
to sanskrit-programmers
Here's a head's up about a forthcoming project (extracted from README.md) - For now, I request this list to pay close attention to the technical choices and point out mistakes and alternatives :

Goal

We've set out to build a database of subhAShita​ -s which is:

  • Universal
    • Its goal is to contain within it every worthy subhAShita ever composed.
    • In fact, the ambition encompasses all languagesverse and prose forms.
  • Freely and easily available. Anyone should be able to
    • Access it
    • Export it in other formats
    • Present it in any way users will find convenient.
      • Eg. the upcoming [subhAShita-pratimAlA] app project.
  • Growing constantly in number
    • sarasvatI still suckles some amongst us at her bosom!
  • Growing constantly in annotations/ ratings
    • add annotations (rating, description, translations, metre, flaws, sources ...)

Technical choices

  • Use Nosql rather than a relational database as the primary canonical database.
    • Reasons (from here ):
      • The need to develop with agility
        • Simplicity (less need to join n tables)
        • Flexibility (schema can easily be changed)
      • distributed nature: ability to operate at any scale.
        • Database copies can sync with each other easily - no centralization is good.
    • Current favorite : Couchbase database, since it can be used in many mobile OS-s.
  • Scala for the ingestion libraries (same justification as expressed here ).

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Mar 25, 2017, 9:15:10 PM3/25/17
to sanskrit-programmers
One of the quandaries I have:
* Would it be possible to host such a database reliably & fast somewhere for free or are we stuck with just publishing a non-live periodically updated copy.
--
--
Vishvas /विश्वासः

Vasu Srinivasan

unread,
Mar 26, 2017, 8:42:49 AM3/26/17
to sanskrit-p...@googlegroups.com
vishvAsa varya

uttamA yojanA ArabdhA | mayaa api saahayyam kartum shakyate, yataH ciraad asmin viShayee (kaschana bRhat subhAShita sangrahaH) aashaktiH mama |

havent thought of alternatives yet (but will do), but some "use cases" could be:

- api based approach
- keywords search, both unicode and ascii/multiple translit schemes


about hosting:

- AWS or similar cloud service ?


Regards,
Vasu Srinivasan
-----------------------------------
vagartham.wordpress.com
vasya10.wordpress.com

--
You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-programmers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Mar 26, 2017, 10:38:10 AM3/26/17
to sanskrit-programmers
2017-03-26 5:42 GMT-07:00 Vasu Srinivasan <vas...@gmail.com>:
mayaa api saahayyam kartum shakyate, yataH ciraad asmin viShayee (kaschana bRhat subhAShita sangrahaH) aashaktiH mama |
अहो
​ शोभनम्! आयातु भवान् अपि। भावत्कं गिट्-हब्-नाम किम्?​

 

havent thought of alternatives yet (but will do), but some "use cases" could be:

- api based approach
​web-api ननु? ​
शोभनो
​ विचारः। तदप्यस्तु।​

 
- keywords search, both unicode and ascii/multiple translit schemes
​not just that, subhAShita-s should be disambiguated for spaces, anusvAra-s, daNDa-s, avagraha-s​, sandhi-s

Ramanathan Sharma

unread,
Apr 25, 2017, 2:18:23 PM4/25/17
to sanskrit-programmers
We have to simplify things as much as possible. Why not have all the subhashitas in markdown files within the repo and use HTML/JS page to display in a word formatted way in a Github page. Everything is free and open source! They can text search subhashitas and Google will index it too so anyone Googling can also come there. 

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Apr 25, 2017, 9:28:04 PM4/25/17
to sanskrit-programmers

2017-04-25 11:18 GMT-07:00 Ramanathan Sharma <heyram...@gmail.com>:
Why not have all the subhashitas in markdown files within the repo and use HTML/JS page to display in a word formatted way in a Github page. Everything is free and open source! They can text search subhashitas and Google will index it too so anyone Googling can also come there. 

​Oh be my guest! That already exists. We don't intend to type new subhashitas from books one by one (atleast not now).​ See the 10k+ here https://github.com/sanskrit-coders/subhAShita-db-sanskrit/tree/master/mUlAni (and there is lots more not present there online).

​But, we're ​not satisfied with that due to reasons stated in the README file, which I reproduce below:

Motivation

  • One of the greatest (and useful) pleasures I've had in tough times is retreat for a while into the world of beautiful subhAShita-s - and then burst back out like the vRtraghna armed with dadhIchi's bones.
  • I especially like online collections curated by some friends and myself:
    • since a book is not always available, and
    • I want to collect + easily access choice ones for future enjoyment.
  • But it is tedious (atleast for me) to sit in front of a computer to do the following:
    • read them,
    • or scour the internet for new ones
    • or collect favorites in a spreadsheet
    • or just annotate them with comments.
  • So, it is desirable to:
    • make the above as simple and easy as possible,
    • and to share our collective labor so that we can benefit more easily from each others' work.
 

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Jun 26, 2022, 12:00:28 AM6/26/22
to sanskrit-programmers

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Jun 26, 2022, 12:10:12 AM6/26/22
to sanskrit-programmers

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Dec 27, 2024, 6:00:17 AM12/27/24
to sanskrit-programmers, संस्कृतसन्देशश्रेणिः samskrta-yUthaH, Hindu-vidyA हिन्दुविद्या

Facing some problems - initializing the filter boxes from query. This function fails; and this event handler isn't being triggered. Can anyone help?

Anyway, the site works somewhat. Details below

सुभासितेष्व् अन्धचित्यै किञ्चन यन्त्रं निर्मितम्। प्रयोगोदाहरणानि -

  • एकाराद् आरभमाणेष्व् अत्र TW
  • कविशः
    • रोचक-शङ्कर-कृतेषु अन्धचितिर् अत्र यन्त्रेण TW (just hit the “Again” button for fresh ones).
    • एवं सुहास-कृतेषु - TW
    • तथा कुशाग्र-कृतेषु - TW
  • सङ्ग्रहशः
    • महासुभाषितसङ्ग्रहगतेष्व् अत्र
    • सुभाषित-रत्न-भाण्डागार-गतेष्व् अत्र
  • विश्वास-प्रियेष्व् अत्र TW
  • प्रतिमाला-क्रमेणापि क्रीडितुं शक्यम्। (अनुष्टुभ्-अपाकरणम् अन्तरा। )

पुरा +एवं मुक्तकानि सङ्गृह्णामि स्म सद्भिः प्रकाशितानि।
इतोऽपि मुक्तककोशो वर्धनीयः - युष्मत्सङ्ग्रहान् सम्भाज्य +अनुगृह्णन्तु। कदाचिद् सापत्यकस्य मम चलनादिकाले रञ्जन-शिक्षणादौ प्रयोक्ष्यते - न तावत् काचित् पुस्तकादि-विक्रयणे वः क्षतिर् अपि स्यात्।

(यन्त्रे दोषास् सन्ति - काले परिहरणीयाः। एवं कोशेऽपि - यथा नामपरिष्कारादि। साहाय्यस्यात्रापि स्वागतम्।)



On Sun, 26 Jun 2022 at 09:39, विश्वासो वासुकिजः (Vishvas Vasuki) <vishvas...@gmail.com> wrote:

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Dec 27, 2024, 6:49:51 AM12/27/24
to sanskrit-programmers, संस्कृतसन्देशश्रेणिः samskrta-yUthaH, Hindu-vidyA हिन्दुविद्या
On Fri, 27 Dec 2024 at 16:29, विश्वासो वासुकिजः (Vishvas Vasuki) <vishvas...@gmail.com> wrote:

Facing some problems - initializing the filter boxes from query. This function fails; and this event handler isn't being triggered. Can anyone help?


Thanks to AI, figured out why the event handling workaround was failing (typo on my part when registering the listener) -

So the UI is working as it should - and can enjoy until the next dev itch!

V Subrahmanian

unread,
Dec 27, 2024, 1:28:40 PM12/27/24
to विश्वासो वासुकिजः (Vishvas Vasuki), sanskrit-programmers, संस्कृतसन्देशश्रेणिः samskrta-yUthaH, Hindu-vidyA हिन्दुविद्या
This is a very laudable initiative.  Over the years I have made a collection of subhashitas and have stored them in my Gmail draft. It's still growing. If it can be shared here, I can do that.  I have not cared to mention the source / author in all cases.

regards
subrahmanian.v

--
You received this message because you are subscribed to the Google Groups "Hindu-vidyA हिन्दुविद्या" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hindu-vidya...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hindu-vidya/CAFY6qgH3%3D6Z_S4w%3DtK3TCKLQCiqVa7ZsDTVECbU8Ne2OnFLT1Q%40mail.gmail.com.

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Dec 27, 2024, 7:46:25 PM12/27/24
to V Subrahmanian, sanskrit-programmers, संस्कृतसन्देशश्रेणिः samskrta-yUthaH, Hindu-vidyA हिन्दुविद्या
On Fri, 27 Dec 2024 at 23:18, V Subrahmanian <v.subra...@gmail.com> wrote:
This is a very laudable initiative.  Over the years I have made a collection of subhashitas and have stored them in my Gmail draft. It's still growing. If it can be shared here, I can do that.  I have not cared to mention the source / author in all cases.

सदयं सम्भाजयतु। Generally, best practice is to store such in a Google Drive spreadsheet or document (slightly less ideal). That way, it will be publicly available (and igestable into other collections such as ours). Example my गद्य collection here.

V Subrahmanian

unread,
Dec 28, 2024, 11:51:24 AM12/28/24
to विश्वासो वासुकिजः (Vishvas Vasuki), sanskrit-programmers, संस्कृतसन्देशश्रेणिः samskrta-yUthaH, Hindu-vidyA हिन्दुविद्या
Here is the link for a Subhashitam Collection, 47 pages in Word:

https://docs.google.com/document/d/1Ptr7pHTHp2wVWX8nsEBrtN3iGP95rXmz/edit?usp=sharing&ouid=117716040700493863454&rtpof=true&sd=true

No processing like classification, etc. is done. Rarely one can find in this document a subhashitam in Kannada script, one or two with meaning in Tamil.  A few subhashitam-s have English meaning.    

warm regards
subrahmanian.v 

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Dec 28, 2024, 11:53:04 AM12/28/24
to V Subrahmanian, sanskrit-programmers, संस्कृतसन्देशश्रेणिः samskrta-yUthaH, Hindu-vidyA हिन्दुविद्या
On Sat, 28 Dec 2024 at 22:03, V Subrahmanian <v.subra...@gmail.com> wrote:

Thanks- would be good to grant public read access.

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Dec 30, 2024, 3:58:29 AM12/30/24
to sanskrit-programmers, संस्कृतसन्देशश्रेणिः samskrta-yUthaH, Hindu-vidyA हिन्दुविद्या
सुभाषित-जालक्षेत्रस्य प्रयोगः कथम् इति कश्चनाप्राक्षीत् । अत इदं चित्रं निर्मितम् ईक्षताम् - https://youtu.be/wYXInwpqZC4

Anunad Singh

unread,
Dec 31, 2024, 2:26:37 AM12/31/24
to sanskrit-p...@googlegroups.com
This discussion should lead us to a more comprehensive सुभाषितम्  collection .  There are many collections of different forms and features. There are सुभाषितम्  blogs, There is the Sanskrit Wikiquote. Many सुभाषितम् are also on Sanskrit Wikisource and Sanskrit Documents site too. There is this  महासुभाषितसंग्रह  having about 10 thousand सुभाषितम्  on Sanskrit Wikibooks .

What should be done? I propose to have the collection on Github. It is good that at least one such project (repository) already exists. May be, we should enhance it by collecting the सुभाषितम्  scattered here and there. We should try to collect more than 100,000 सुभाषितम्  . The collections should consist of files of size less than 1 MB or so. In addition to the सुभाषितम् text, their translation ( अर्थ/भावार्थ ) should also be added as much as possible. These translations can be in English but it would be better to have them preferably in one or more Indian languages using popular Sanskrit words. Along with the अर्थ/भावार्थ, some keywords should also be included with each सुभाषितम् . These keyword should indicate the source (writer / granth) , category (eg धर्म, विद्या, साहस , पण्डित etc as applicable) also.

This repository must have characteristics such that it can easily converted into a database and even be used by latest technologies (GenAI, for example) .

-- अनुनाद


You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-program...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sanskrit-programmers/CAFY6qgFcJNaxJegHy5vBuHh37iPFHmtMp_F%2Bj-g4_UUMYBvxxw%40mail.gmail.com.

विश्वासो वासुकिजः (Vishvas Vasuki)

unread,
Dec 31, 2024, 5:28:14 AM12/31/24
to sanskrit-p...@googlegroups.com
None of what you've written below adds anything to what was already proposed and implemented. 

Reply all
Reply to author
Forward
0 new messages