Bilara blurbs

Anagarika Sabbamitta and I were discussing where to put blurbs in Bilara. In the following, we propose that they belong with the comments.

A blurb is a comment about a translation. It is not what the Buddha said. A blurb is just an annotation of the translation. And although a blurb will be translated to different languages, it is still not what the Buddha said. This means that blurbs should be separate from the translation JSON files.

Blurbs should not be searched with the same priority as translations. Taking a legal analogy, blurbs are closer to ā€œhearsayā€ than ā€œwitnessā€ testimony and should be given corresponding lower priority. This separation of concerns leads to the conclusion that blurbs should be in a separate folder independent from translations. Such a folder exists in bilara-data. It is called ā€œcommentsā€.

It is possible and convenient to treat a blurb as a ā€œvirtual segmentā€. Segments organize the elements of a sutta, so a blurb can just fit in with the other segments as follows:

{
    "an1.1:blurb": "...Deutsche blurb..."
    ...
    "an1.1:3.2": "...Deutsche comment about an1.1:3.2"
    ...
}

And the above JSON would logically reside within the existing comment hierarchy at:

bilara-data/comments/an/an1/an1.1_comment-de-sabbamitta.json

Thoughts?

1 Like

Perhaps rather:

bilara-data/comments/de/sabbamitta/an/an1/an1.1_comment-de-sabbamitta.json

bilara-data/comments/en/sujato/an/an1/an1.1_comment-en-sujato.json

So there would be different folders for different languages and different translators. The ā€œenā€ folder would also have another folder with comments by Ajahn Brahmali on his Vinaya translations, called bilara-data/comments/en/brahmali/pli-tv/pli-tv-bi-vb/pli-tv-bi-vb-np/pli-tv-bi-vb-np10_comment-en-brahmali.json for example.

And then there would still be a Portuguese folder, etc.

1 Like

Blake, Bhante and I just had a quick conversation in Gitter. Blake suggests:

bilara-data/root/en/blurb/dn-blurbs_root-en.json

Therefore German blurbs would be:

bilara-data/root/de/blurb/dn-blurbs_root-de.json

And that single JSON file has ALL the blurbs for DN.

1 Like

The structure of dn-blurbs_root-de.json would be:

{
      "dn": "The Long Discourses (DÄ«gha Nikāya, abbreviated DN) is a collection of 34 discourses in the Pali canon (Tipiį¹­aka) of the Theravāda school. The word ā€œlongā€ refers to the length of the individual discourses, not the collection as a whole, which is in fact the smallest of the five Pali Nikāyas. It is one of the fundamental collections of early Buddhist teachings, depicting the Buddha in a lively range of settings. Compared to other collections it contains more extended narratives in diverse literary styles. Many discourses feature interreligious dialog with brahmins and other non-Buddhists. This collection parallels the DÄ«rghāgama (DA) of the Dharmaguptaka school, which is the first text in the Taishō edition of the Chinese canon. Several uncollected suttas in Chinese and Sanskrit also belong to this collection. Two-thirds of a DÄ«rghāgama from the Sarvāstivāda school has been found, but only small portions have been published.",
      "dn-silakkhandhavagga": "The Chapter Containing the Section on Ethics (SÄ«lakkhandhavagga) is a chapter of 13 discourses. Each of these contains a long passage on the Gradual Training in ethics, meditation, and wisdom. The chapter is named after the first of these sections. The two other known versions of the DÄ«rghāgama (in Chinese and Sanskrit) also contain a similar chapter. Despite the monastic nature of the central teaching, most of these discourses are presented in dialog with lay people, with a strong emphasis on the relation between the Buddhaā€™s teachings and other contemporary movements.",
      "dn-mahavagga": "This chapter contains a diverse range of discourses. Several focus on the events surrounding the Buddhaā€™s death, while others range into fabulous scenarios set among the gods, and still others are grounded in detailed discussions of doctrine.",
      "dn-pathikavagga": "Like the previous chapter, this contains a diverse range of discourses. It is named after the first discourse in the chapter. Among the discourses here are legendary accounts of the history and future of our world, which are extremely famous and influential in Buddhist circles.",
      "dn1": "While others may praise or criticize the Buddha, they tend to focus on trivial details. The Buddha presents an analysis of 62 kinds of wrong view, seeing through which one becomes detached from meaningless speculations.",
      "dn2": "The newly crowned King Ajātasattu is disturbed by the violent means by which he achieved the crown. He visits the Buddha to find peace of mind, and asks him about the benefits of spiritual practice. This is one of the greatest literary and spiritual texts of early Buddhism.",
      "dn3": "A young brahmin student attacks the Buddhaā€™s family, but is put in his place.",
      "dn4": "A reputed brahmin visits the Buddha, despite the reservations of other brahmins. They discuss the true meaning of a brahmin, and the Buddha skillfully draws him around to his own point of view.",
      "dn5": "A brahmin wishes to undertake a great sacrifice, and asks for the Buddhaā€™s advice. The Buddha tells a legend of the past, in which a king is persuaded to give up violent sacrifice, and instead to devote his resources to supporting the needy citizens of his realm. However, even such a beneficial and non-violent sacrifice pales in comparison to the spiritual sacrifice of giving up attachments.",
      "dn6": "The Buddha explains to a diverse group of lay people how the results of meditation depend on the manner of development.",
      "dn7": "This discourse is mostly quoted by the Buddha in the previous.",
      "dn8": "The Buddha is challenged by a naked ascetic on the topic of spiritual austerities. He points out that it is quite possible to perform all kinds of austere practices without having any inner purity of mind.",
      "dn9": "The Buddha discusses with a wanderer the nature of perception and how it evolves through deeper states of meditation. None of these, however, should be identified with a self or soul.",
      "dn10": "Shortly after the Buddhaā€™s death, Venerable Ānanda is invited to explain the core teachings.",
      "dn11": "The Buddha refuses to perform miracles, explaining that this is not the right way to inspire faith. He goes on to tell the story of a monk whose misguided quest for answers led him as far as Brahmā.",
      "dn12": "A brahmin has fallen into the idea that there is no point...
}

@Blake @Sujato, unless you have objections, I will transfer and split the existing blurb.json according to the above next week

1 Like

Sure, Iā€™m happy so long as you and Blake are happy.

3 Likes

Blake are you happy? :grin:

2 Likes

I would note that blurbs can be very useful to help searching for suttas.

Please allow search to ā€œcrawlā€ through it?

@marco and I look forward to translating those later in our project of translating Pali Nikayas to Portuguese.
:anjal:

3 Likes

Yes. Voice currently searches blurbs. What Anagarika Sabbamitta and I have discussed is searching blurbs implicitly when the other search mechanisms return nothing. There is currently a hierarchy of searches: 1) phrase search, 2) keyword search. The third in the hierarchy would be blurb search. Weā€™re also introducing tri-lingual search in v1.8, which would allow a search for a Portuguese segmented sutta by using Pali, English or Portuguese. The search algorithm automatically determines the search language from what you type.

BTW, do you know when the Portuguese segmented four nikayas might start showing up in bilara-data?

2 Likes

Gotcha. Good work.
I donā€™t know when it will be moved to Bilara.
As @marco and I are still progressing with it in Pootle I would say that only when Bilara is ready to be used, which I assume is not happening anytime soon.
Given we are working on it almost on a daily basis I would suggest only move it to Bilate when it is fully stable and ready to fully replace Pootle.
:anjal:

2 Likes

Ah. OK. Holler if you need help importing Pootl files into bilara-data. Weā€™re importing Anagarikaā€™s Deutsch files. And Anagarika Sabbimitta has found that trilingual search has helped her translations. To be clear, sheā€™s using Sublime Text and a command line search from scv-bilara, but not Bilara itself just yet.

However, if youā€™re happy with Pootl, thereā€™s no hurry to convert.

1 Like

Yep, letā€™s not hurry. I quite like Pootle actually.

2 Likes

Understandably so! If it works itā€™s fantastic!! :slightly_smiling_face:

2 Likes

@blake, @sujato, @sabbamitta

sc-data blurbs have been imported into bilara-data and split into individual files.
Please advise if there are errors. Weā€™ll clone these for Deutsch blurbs.

On a side note, there appears to be only one blurb for all of Thig and that is in divisions. Will there be a kn blurb section?

1 Like

Thank you so much for doing this, Karl!

I just happened to see that there is no blurb for MN24 in the respective file, but there is a blurb to that sutta on the website. You probably want to correct this, Bhante @sujato. I didnā€™t check systematically if there are more such errors, though; but will certainly see it once I come to any sutta that has no blurb. :grin:

1 Like

We discussed this at a meeting a couple of days ago. The priorities are:

  1. Get the basic editing and saving functions solid (mostly done!)
  2. Implement trilingual translation.
  3. Add a search function.

The trilingual function should not take too long, and once it is done it may be used for German, Portuguese, etc., so long as you are happy using some kind of local search. I use Sublime text.

Agreed, itā€™s nice, but when you start using Bilara you see the difference. When you commit an edit in Pootle it churns around and then decides, hmm, maybe now Iā€™ll move on to the next segment. In Bilara, it is all instantaneous. In fact some of our bugs are created because the page is too damn fast. And the interface is much more suited for translating texts (as opposed to user interfaces).

I didnā€™t make blurbs for each of the Thag/Thig sections, what is there to say other than ā€œA set of verses associated with Venerable so and soā€?

Iā€™ll probably do blurbs for Snp, Ud, and Iti, maybe not for others. And I might get around to at least some of the thig/thag poems as well.

But this is also something others an do, thereā€™s no particular reason why I should write all the blurbs!

Sorry, what file are you looking at? There is a blurb in blurbs.json.

3 Likes

Hmmā€¦ I was looking at the counterpart of this file which we have in the Voice fork; but I now see that MN24 is here in your original. So it seems to be a bug with the forking? @karl_lew?

Anyway, copy & paste just does the trick. :white_check_mark:

1 Like

Like it already! :smile:

3 Likes

In case you think Iā€™m joking, hereā€™s the LitElement issue for being too fast!

3 Likes

I see the segments in the blurb files have no spaces at the end of each line. Is this intended?

1 Like

:rofl: ā€œspaceā€¦the final frontierā€

1 Like