Sunday, August 8, 2010

return of the cheetah


The cheetah was native to India and made extinct due to excessive hunting. Now the Indian government maybe planning to bring it back to India, for no other grand motive than to increase the tourism. Interestingly, it is not able to keep its tiger population safe, wonder what will be achieved in increased revenue by bringing the cheetah.

It would be good if the wonderful cat can return and remain safe, yet another habitat for it.

Read more on the news of cheetah coming back to India - http://www.tourism-review.com/despite-the-considerable-cost-involved-the-cheetah-is-coming-back-to-india-news2337

The word cheetah comes from Sanskrit/Hindi.

चित्र (sanskrit/hindi) = chitra = varied, strange (wonderful), spotted, picture (among many other meanings).
चित्ता (hindi) = chittaa = spotted.
चीता (hindi) = cheetaa (from which comes english cheetah) = the large wild spotted cat.

Other similar words are
- vichitra (विचित्र) i.e. visheSha chira, specially varied, i.e. weird, strange.
- chalachitra (चलचित्र) - a newly coined word, meaning motion picture, i.e. movies. This has been accepted now in Indian languages for the word, movie, but 'film' is most common.
- chitra-paTa (चित्रपट) the screen, surface (paTa) for showing the chitra. earlier it meant a wall or canvas, today in modern Indian languages it means movie screen. There are even programs on radio and TV called 'chitra-paTa sa~Ngeeta' (movie songs)
- chitra-greeva (चित्रग्रीव) the "spotted neck", name of the pigeon king in the first story of Hitopadesh (pigeons fly away with the net)


More about cheetah at Wiki, check out - http://en.wikipedia.org/wiki/Asiatic_Cheetah





(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Friday, August 6, 2010

soap bubbles and humongous numbers - फेनिल-बुद्बुद


Soap bubble
= phenila-budbuda
= फेनिल-बुद्बुद

फेनिल = soap. That which foams.
बुद्बुद = bubble. This is an onomatopoeia word, based on the sound bubbles make.

The बुद्बुद is used as a metaphor for this world.

The scales that Indians have thought (and used) in numbers and time, is staggering. rAmAyaNa (रामायण) has mention of numbers upto 10^60 [yuddha kANDa, 28:33-38], that is 1 followed by 60 zeros, which is 1,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 to be precise. This was in connection with the size of rAma's army. Of course the number is not exact and surely an exaggeration, but the main point is that vAlmIki (वाल्मीकि) explains the NAMES of the place values in the number system upto 10^60.

100 = 1 shatam (शतं)
100,000 shatam = 10^7 = 1 koTi (कोटि)
100,000 koTi = 10^12 = 1 nIla (नील) or sha~Nku (शंकु) or sha~Nkha (शंख)
100,000 sha~Nku = 10^17 = 1 mahA-sha~Nku (महा-शंकु)
100,000 mahA-sha~Nku = 10^22 = 1 vRinda (वृन्द)
100,000 vRinda = 10^27 = 1 mahA-vRinda (महा-वृन्द)
100,000 mahA-vRinda = 10^32 = 1 padma (पद्म)
100,000 padma = 10^37 = 1 mahA-padma (महा-पद्म)
100,000 mahA-padma = 10^42 = 1 kharva (खर्व)
100,000 kharva = 10^47 = 1 mahA-kharva (महा-खर्व)
1000 mahA-kharva = 10^50 = 1 samudra (समुद्र) (yes, multiplied by 1000 and not 100,000)
100,000 samudra = 10^55 = 1 ogha (ओघ)
100,000 ogha = 10^60 = 1 mahaugha (महौघ, महा-ओघ)

How do you do that with Roman numerals?

Thinking upon this, makes you wonder that without this simple concept of place value and zero, not much science would have progressed. No calculus for sure, and no going to the moon. How do you do logarithms in Roman again? There is not enough praise for this simple but far reaching counting system.

The same was true for time scale. From a fraction of a second (nimiSha निमिष) all the way to mahAyuga (महायुग) (4,320,000 years), the scale went full range [bhAgavat-purANa].

The age of creation itself is mentioned indirectly. The Tower of Hanoi problem is originally an Indian problem. It has 64 disks of varying sizes, that need to be moved from one peg to another following certain rules. It is said that a priest sits in the temple of brahmA (ब्रह्मा), making the moves without error, and when he is done, the creation will restart. So much for 2012! Mathematically it will take 2^64 moves. If one correct move is made every second, even then the time taken comes to 585 billion years. Now that is an order of time not thought of anywhere else! Trademark Indian thought.


Except modern astronomy, which feels not only comfortable with such large numbers but would not exist in lack of them! That is why a light-year is not a measure of time, but of distance, the distance light would travel in a year (6 trillion miles, 10^16 meters). And then there is the radius of the observable universe at 46.5 x 10^9 light years = 46.5 x 10^22 kilometers = 465,000,000,000,000,000,000,000 kilometers!

To just go crazy thinking more such 'fictional' numbers, :) :) which make no sense to anyone but astronomers and those who believe in them, check out Light Year. And then, when you are all excited, read some of the purANas, they will appear more believable, even if unfathomable! LOL!


Seeing all this, our human life is what - a bubble on the surface of a fast flowing stream? That won't even be noticeable cosmically. Now, this doesn't mean one needs to go in depression :) but just that 'This too shall pass' - so have neither gloom nor pride.

In Hindi there is a beautiful couplet that goes:
pAnI kerA budabudA, asa mAnasa kI jAta |
dekhata hI chhipa jAyegA, jyo tArA parabhAta ||
(पानी केरा बुदबुदा, अस मानस की जात | देखत ही छिप जाएगा ज्यो तारा परभात ||)
i.e. water produced bubble, such is human birth. it will set in no time, like a morning star.

Enjoy before the bubble bursts!

[There is a lot more to write on this theme, but for sake of brevity, I will stop here, maybe some other time.]




(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Tuesday, August 3, 2010

Alphabet boards a good thing for learning to read


बालः क्रीडति = bAlaH krIDati = boy plays.

What you see in the front is a wooden devanAgarI (देवनागरी) alphabet board. I had seen these ones for English in US, but it hadn't picked up in India for Indian languages. Now I found this, and my 3.5 year old has been playing with them and picking up.... he already reads most of the letters and picking up mAtrA (मात्रा).

These boards are a good thing, something which was not available to a generation or before earlier. They help make the letters come alive, something you can hold and feel. Giving it a whole new dimension to reading!

Anyone who wants to learn a new script, and has the kid in them, should try such board toys.

Of course, having a few smiley cars and building blocks and an ambulance will break the monotony too!




(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Monday, August 2, 2010

how colorful is your life? - colors in sanskrit



The word for color in Sanskrit is 'varNa' (वर्ण) and it actually signifies quality, one of them being color. It is also used for the letter of the alphabet (quality of sound), the alphabet being called varNa-mAlA (वर्ण-माला, letter-garland). Gold is called su-varNa (सुवर्ण, सु=good, beautiful; वर्ण=color, quality ). The four personality types are called वर्ण as well - ब्राह्मण, क्षत्रिय, वैश्य, शूद्र (brAhmaNa, kShatrIya, vaishya, shUdra) which are the thinkers, administrators, business and working class of a society by professions, but they are based originally on personality types, qualities of a person.
 
There is very nice example of pun and the many meanings of सुवर्ण in Hindi:

सुबिरन को ढूँढत-फिरत कवि, व्यभिचारी, चोर
  subirana ko DhoonDhata-phirata kavi, vyabhichArI, chora


subirana (hindi) = suvarNa (sanskrit)
kavi = poet
vyabhichArI = licentious person (one whose conduct is wanton)
chora (hindi) = chaura (sanskrit) = thief

So the saying goes, all of them are looking for सुवर्ण - the poet (looking for good letters/words/sounds), the wanton man (for the fairer complexion, women) and the thief (for gold).

Here are names of some of the colors as in Sanskrit. These are in masculine form. Most feminine are made by changing the last -aH to -aa, and neutral by changing it to -am like, श्वेत, श्वेता, श्वेतम् (shvetaH, shvetA, shvetam) or रक्तः, रक्ता, रक्तम् (raktaH, raktA, raktam).


श्वेतः shvetaH white
धवलः dhavalaH white
अर्जुनः arjunaH white
कृष्णः kRiShNa black
श्यामः shyAmaH black
रक्तः raktaH red
पीतः pItaH yellow
हरितः haritaH green
नीलः nIlaH/neelaH indigo
पाटलः pATalaH pink
शोणः shoNaH purple
कपिलः kapilaH brown
अरुणः aruNaH reddish brown
कषायः kaShAyaH yellowish red
कापोत kApotaH dull white grey

And the rainbow is called 'इन्द्र-धनुष' (indra-dhanuSha) or the bow of 'indra' - the king of the gods.




(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Wednesday, July 28, 2010

Ginger merchant and ship - किमार्द्रकवणिजः

किमार्द्रक-वणिजो वहित्र-चिन्तया
kimArdraka-vaNijo vahitra-chintayA
kimārdraka-vaṇijo vahitra-cintayā

What [would] a ginger merchant [have to do] with worry about ships?

This nyAyaH (न्यायः) is used to denote totally unrelated subjects. e.g. Why would a merchant who sells ginger, worry about ships?

Interestingly, the present word for ginger in Hindi is adaraka/adarakha (अदरक/अदरख), a direct descendant from the Sanskrit Ardraka. This is the fresh ginger root, which is moist. The word Ardra (आर्द्र) means moist, wet.

Other interesting words for ginger are :
  • Ardra-ja = आर्द्रज = Ardra+ja = born (-ja) in moist[ure] (Ardra)
  • uShaNA = उषणा = heat (uShNa) producing
  • kaTu-kanda =कटु-कन्द = sharp tasting (kaTu) stem  (kanda)
  • kaphAri = कफारि = kapha+ari = enemy (-ari) of kapha (phlegm)
  • indra-bheShaja = इन्द्र-भेषज = medicine (bheShaja) of the gods (indra the king of gods)




and now the language aspects of the shloka -

kim = how
Ardraka-vaNijo = Ardraka + vaNijaH
Ardraka = ginger
vaNika = merchant
vANijya = commerce

vahitra-chintayA = by/with ship-worry
vahitra = ship, one that carries
chintayA = by/with worry (chintA)

so the intent is, what does a ginger merchant [have to do] with ship-worry?




(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Tuesday, July 27, 2010

We are what we eat - दीपो भक्षयते ध्वान्तं

दीपो भक्षयते ध्वान्तं कज्जलं च प्रसूयते |
यदन्नं भक्षयेन्नित्यं जायते तादृशी प्रजा ||


dIpo bhakShayate dhvAntam kajjalam cha prasUyate |
yadannam bhakShayennityam jAyate tAdRishI prajA ||

Lamp eats darkness and produces [black] soot!
What food (quality) [one] eats daily, so will [one] produce.


This shloka is a simple one, appearing in "vRiddha-chANakya" (वृद्ध-चाणक्य), but it has deeper implications.

The lamp eats away the darkness. Light has always been a metaphor for good, and a lamp that of a person who does good even if it burns inside and causes its own extinction!

Taking this simple observation of every day life, the poet - yes, even prose in Sanskrit is poetic, for no writings are without metaphors and a second layer of vision, that is so essential to being a poet - picks up the other side of this example.

Chanakya (chANakya, चाणक्य), the wise and shrewd statesman of emperor Chandragupta (चन्द्रगुप्त) may not evoke an image of a poet in anyone, but that is because the English word poet is limited, and the Sanskrit word kavi (कवि) has been restricted in use to mean simply, 'word rhyming'. A kavi is one who has vision, s/he is a seer, feels and thinks beyond just the words!

चाणक्य says that a lamp 'eats' darkness. Figuratively we all know. But even literally, for the effect of eating away the darkness the result is that a black soot is what remains when it dies out.

We are what we eat
Similarly, he says, the food we eat affects our seeds directly, both men and women. Modern medicine has been doing clinical studies and they agree on how diet can impact fertility. Marketing, hype, economics of huge corporations and market segments may not allow simple truths to reach the public, but sometimes they do trickle down.

For long, among the young men, there has been a fashion of tight undergarments. A clinical correlation was established among many men with low fertility and their tight undergarments. It is simply biology, nothing else.

Similarly, food intake directly affects our body. After all, exercise doesn't make the body, food makes the body. Exercise shapes the body, not make it. While the fact that food impacts our own body directly is well understood, (whether implemented or not), the fact that our food and other intake may impact our next generation directly may not be so clear. There is enough evidence now that they are related, and intake of tAmasika (तामसिक, impure, unhygienic and negative) food, tobacco, alcohol can effect the quality of the reproductive cells.

We are what we do repeatedly
There is a third level of inference from here, which is metaphoric, which I think चाणक्य may have surely meant. If not, then I present this as my inferred interpretation as a poet. The critical term here is 'birth' hinted in all words - prasUyate, jAyate, prajA etc. One thing is the physical effects on the physical birth of children after impacting our physical body negatively through bad physical food.


The other is the mental food. What values we nibble for breakfast, eat for lunch and savor for dinner, what we imbibe, what we do everyday, what our children see us doing everyday, is what is going to be their mental food and making their character and value system. And the makeup and shape-up of the mind is equally important as the body, for worse than a strong mind in a weak body is a weak mind in a strong body. The latter can do much harm if gone out of control.

There is a famous saying 'yathA rAjA, tathA prajA', which means 'as the king, so the subjects' and in English it is called 'Like father, like son'. See again the change of king-subject to father-son. These are related.

The king, the leader is to his subjects like a father is to his children. He takes care of the food (physical needs) and character (value needs) through good effort and policies. You can see this in society or at home. It is just a matter of difference in scale.

Care with examples
This shloka also points out one more thing. Writer should take care to give appropriate example and reader should take care to interpret an example appropriately. There could be many readers jumping up and down for defaming the great lamp, the symbol of light, sacrifice and all. Some political parties may even call for national strike or street protests in India. And indeed lamp is such a symbol, we light it at any function as a symbol of enlightenment and all things positive.

In this sense, the writer, चाणक्य did not pick a good example. His example can be misinterpreted, misconstrued, and give the listener a reason to 'dismiss' the statement.

But here is the caution to the reader. When someone gives an example, and there are many facets to it, please don't debate on other aspects. Don't do ku-tarka (false logic) and try to 'defeat' the point. Debates get biased and are a win-lose situation. Discussions are productive. So, see only that aspect of an example that the writer wishes to bring in. Here e.g. he says the lamp begets the ill results of its ill-diet, then one should not say , "But look, what a sacrifice." The sacrifice of the lamp is not being questioned or brought in for discussion.

Here, the lamp eating darkness, hence producing dark soot is a different angle of the same physical phenomenon, and चाणक्य should be commended for this. Of course, he was not a big fan of being politically correct. Diplomacy was another thing.

So,
Eat good, keep the body and generations healthy.
Be good, keep the mind and generations healthy.
Do good, keep the society and generations healthy.





Did you notice that the word Chanakya (chANakya, चाणक्य ) appears only once in roman character? After that only appears as devanAgarI (देवनागरी). A small experiment in Sanskrit script and how fully are people reading the posts!

and now the language aspects of the shloka -

dIpo = dIpaH = lamp
-aH become -o due to sandhi rules

bhakShayate = eats

dhvAntam = darkness

kajjalam = black soot (also the kohl to be applied to eyes)

cha = and

prasUyate = begets, gives birth to, brings forth
prasUtA = a woman who has just given birth (still in the maternity section!)

yadannam = yat + annam = what/that food
yat = that which
annam = grain, cereal, food
yat-tat pair to indicate what you sow, so you reap.

bhakShayennityam = bhakShayet + nityam = [one] eats daily

jAyate = gives birth, begets

tAdRishI = tA + dRishI = that kind/type/like

prajA = people, children, citizens of a nation.
prajanan = giving birth.
prajA is the result of prajanan. in yathA rAjA, tathA prajA it is the citizens. there it means the subjects, not direct biological next generation.




(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Thursday, July 22, 2010

The cars, oops kAra's in sanskrit

The suffix -kAra makes the 'doer of' 'maker of/by/with'
  • स्वर्णकारः = swarNa-kAraH = maker (kAraH) [with] gold (swarNa)= goldsmith; 
  • लौहकारः = lauha-kAraH = maker [with] iron (lauha) ; 
  • मालाकारः = mAlA-kAraH = maker of garlands, gardener; 
  • चित्रकारः = chitra-kAraH = maker of drawings (chitra), painter; 
  • चर्मकारः = charma-kAraH = maker with leather, cobbler (charma = leather); 
  • कुम्भकारः = kumbha-kAraH = maker of pots, potter (kumbha = pot)

But don't confuse with other words like
  • पुरस्कार = puraskAra = prize
  • सत्कार = satkAra = hospitality
  • निराकार = nirAkAra = formless
  • चमत्कार = chamtkAra = miracle
  • नमस्कार = namaskAra = salutation
  • तिरस्कार = tiraskAra = neglect, insult
  • उपकार = upakAra = favor
  • अ-कार, उ-कार, म-कार = akAra, ukAra, makAra = sound of a-, u-, m- (as in OM)




(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Friday, July 16, 2010

When the pigs fly or rocks float - अम्बुनि मज्जन्त्यलाबूनि

In the epic mahAbhArata, duryodhana the kaurava prince was ever jealous of the pANDavas and invited dhRitarAShTra for a gambling game, a roll of dice. vidura the wise minister opposed the idea, for its sinister plot. shakuni, duryodhana's uncle has a biased dice, made of his own father's bones! And was known for winning. Because the official invite went from the king dhRitarAShTra, yudhiShThira didn't refuse.

One by one, yudhiShThira loses his wealth, kingdom, his brothers, himself and finally their wife, draupadI. At this duryodhana orders vidura himself, the wise and old minister to bring draupadI, the princess wife of the pANDavas and ask her to sweep the palace like a maid-servant.

Enraged by this, the saddened vidura says that 'Bottle gourds may sink and stones may float, but this kid of dhRitarAShTra will never like my good advice.'

He uses "मज्जन्त्यलाबूनि शिलाः प्लवन्ते ..." (majjantyalAbUni shilAH plavante) i.e. "bottle gourds (a variety of cucumber) sink and rocks float" [sabhA parva, 66:11]

This is used to indicate an impossible situation which will never happen, similar to 'when pigs fly ...'


This has become a nyAyaH or a maxim/saying in Sanskrit. the full phrase is :
अम्बुनि मज्जन्त्यलाबूनि ग्रावाणः प्लवन्ते
= ambuni majjantyalAbUni grAvANaH plavante

Breaking up the words (anvaya):
अम्बुनि मज्जन्त्ति-अलाबूनि ग्रावाणः प्लवन्ते
= ambuni majjanti-alAbUni grAvANaH plavante
= in water, sink cucumbers stones float


In rAmAyaNa, this had already been achieved, When the rocks thrown in the sea to build the bridge were sinking, it is said that, when the name rAma was written on them, they started to float, so that the bridge could be made faster and easily. (tulasIdAsa's rAma-charita-mAnasa)




And now the language aspects of the shloka -

ambuni = in water
ambu = water
-ni suffix after -u ending neutral denotes 'in, on' (saptamI vibhakti)

majjanti = [they] drown (plural)
alAbUni = alAbU = bottle gourd
alAbUni = plural

grAvANaH = grinding stones
grAvan = grinding stone, as in grinding herbs

shilAH = huge rocks
shilA = huge rock

plavante = [they] float (plural)



(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Monday, July 12, 2010

Indic transliteration on computers - brief history and now

There was a time when the computers only allowed Roman characters, called ASCII characters, which were 128 in number, increased to 256, to accommodate extra symbols.


Back in early 1990s, there was a newsgroup called soc.culture.india, where every Indian student sitting in US university was venting out, good, bad, ugly and the very ugly! In 15 different languages! And many errors of understanding happened due to the limitation of English alphabet.

The two passions - Hindi movie songs and Sanskrit

People (including me) on a newly formed music newsgroup rec.music.indian.misc (RMIM) were having a torturous time when people mistook the words of evergreen Hindi legendary lyricists' words from super golden hits. Confusions between t (त) and T(ट) or d (द) and D (ड) were causing havoc. No one was at fault, there were people who heard the words, but didn't know the proper meaning or the spelling, and for the first time, finding a venue to ask and share, started asking away.

Another area that needed this unambiguity was Sanskrit mailing lists, which were seeing the erudite blasting people for the tiniest mistake due to misinterpretation in the limited Roman alphabet. Sanskrit enthusiasts were trying to figure out their place in the promotion of Sanskrit. And it settled at encoding of Sanskrit documents to enable people access online.

Birth of ITRANS

So, some schemes, conventions, mappings started developing. One of the successful ones out of those growing pains was named ITRANS, and Avinash Chopde quickly developed a software for it. Those days of no web, and Latex being the coolest software for techie geeks, the software was only for techie use! Options to switch between English and devanAgarI were embedded, and much more complex stuff.

The Sanskrit Documents project took off with encoding using ITRANS. Similarly the Hindi movie songbook took off for Hindi movie songs (and other Indian languages as well). These two projects fueled the majority of online transliteration efforts like nothing else - both matters of extreme passion for the followers.


Sample encoding
A typical encoded text would look like this:
ITRANS -
hariH AUM .. sha.n no mitraH sha.n varuNaH . sha.n no bhavatyaryamaa .
sha.n na indro bR^ihaspatiH . sha.n no vishhNururukramaH ..
namo brahmaNe . namaste vaayo . tvameva pratyakshaM brahmaasi .
tvaameva pratyakshaM brahma vadishhyaami . R^ita.n vadishhyaami .
satya.n vadishhyaami . tanmaamavatu . tadvaktaaramavatu .
avatu maam.h . avatu vaktaaram.h .. AUM shaantiH shaantiH shaantiH ..
AUM saha naavavatu . saha nau bhunaktu . saha viirya.n karavaavahai
. tejasvi naavadhiitamastu . maa vidvishhaavahai .
AUM shaantiH shaantiH shaantiH ..

devanAgarI -
हरिः ॐ ॥ शं नो मित्रः शं वरुणः । शं नो भवत्यर्यमा ।
शं न इन्द्रो बृहस्पतिः । शं नो विष्णुरुरुक्रमः ॥
नमो ब्रह्मणे । नमस्ते वायो । त्वमेव प्रत्यक्शं ब्रह्मासि ।
त्वामेव प्रत्यक्शं ब्रह्म वदिष्यामि । ऋतं वदिष्यामि ।
सत्यं वदिष्यामि । तन्मामवतु । तद्वक्तारमवतु ।
अवतु माम् । अवतु वक्तारम् ॥ ॐ शान्तिः शान्तिः शान्तिः ॥
ॐ सह नाववतु । सह नौ भुनक्तु । सह वीर्यं करवावहै
। तेजस्वि नावधीतमस्तु । मा विद्विषावहै ।
ॐ शान्तिः शान्तिः शान्तिः ॥

IAST -
hariḥ oṃ ॥ śaṃ no mitraḥ śaṃ varuṇaḥ । śaṃ no bhavatyaryamā ।
śaṃ na indro bṛhaspatiḥ । śaṃ no viṣṇururukramaḥ ॥
namo brahmaṇe । namaste vāyo । tvameva pratyakśaṃ brahmāsi ।
tvāmeva pratyakśaṃ brahma vadiṣyāmi । ṛtaṃ vadiṣyāmi ।
satyaṃ vadiṣyāmi । tanmāmavatu । tadvaktāramavatu ।
avatu mām।h । avatu vaktāram।h ॥ oṃ śāntiḥ śāntiḥ śāntiḥ ॥
oṃ saha nāvavatu । saha nau bhunaktu । saha vīryaṃ karavāvahai
। tejasvi nāvadhītamastu । mā vidviṣāvahai ।
oṃ śāntiḥ śāntiḥ śāntiḥ ॥

Later on, some modifications or to say added conventions were used to ease it out a bit, like M for .n (anuswAra).

Tools

Then came Omkarananda Ashram's (omkArAnanda Ashrama) standalone ITransliterator, which is still available. It was the in thing, people frantically typed, gave feedback, improved it, with multiple scheme, ITRANS, IAST etc.

Then with computers reaching India with GUI, windows, fonts etc, the printing world started to change. Off set printing was going away, and early devanAgarI fonts started to develop. They used the same 256 character space, and replaced English character with devanAgarI. Various styles developed. Mappings were more like a Hindi typewriter, making someone like me who knew only English keyboard, go nuts wondering why I get क (k) when I press t, or how to get ddha (द्ध).



If you typed in one font and put up content on web, people had to download your font. And if YOU went to 5 Hindi websites, you ended up with five fonts installed on your computer. And there was no way to take a text typed by X in font X1 and change it to a nicer/different font Y2. Nope. Someone will have to retype the whole thing. And if English characters were also used in the same piece, and you did "Select All" and change font, then you lose the English content.

Oh, the pains!

WWW as we know it

With the advent of web, and PHP and all the other things, better versions came out for web based transliteration. Back in 2003 I started a Hindi/English magazine in Cleveland, and I found a lot of fonts had many conjugate characters missing, and their mapping was messed up for someone who was typing English 9 hours a day. So I created two fonts, 'shashi' and later an improved version 'bhaarat', which had English intuitive mapping of keys and created new conjugates for the important ones. Great, but the problems still remained the same of changing fonts etc.


So I tried my hands at a web based Lex parser that would take ITRANS and my added convenience factors (eased a bit for for Hindi), and I did it for bhaarat and for Kruti font. Then I found that within Kruti itself fonts had minor mixups of key mappings.

Unicode

Then came Unicode for Indic languages. This changed a lot of things. Firstly, you now needed only ONE font for all your needs. You want to write English, Greek, mathematical symbols, Hindi, Arabic, Tamil - all using one single font. Yep, the font file size bumped from a few kilobytes to 25MB!! My Big Fat Unicode Wedding, huh!

This brought in new problems though. Not all fonts were Unicode, and you had to find the Unicode font for your platform. Bigger problem was how to write in it? Since the font had thousands of characters now, you couldn't type with the normal keys. You would go to "Insert" -> "Symbol" all the time in say, MS Word. Anyways, I didn't bother to figure out this piece at all.



The advantage of Unicode was tremendous. Any site using Unicode can be viewed by any visitor. You could use different languages with same font. The greatest one was - web sites could be searched uniformly with this code! AND you could actually sort words in their native script simply by using 'Sort' of any software. This last point is a bit difficult to understand for non-techies.

The English characters are listed internally in alphabetical order. That is, after A come B and C and D etc, internally for the computer. For devanAgarI though, the consonant order is k kh g gh ~N ch chh ja etc. These when sorted by a software will not remain in this order, they will become ~N ch chh g gh ja k kh.

With Unicode this problem is solved. Want to see it? Go to Word or something, and choose Insert -> Symbol and choose Arial MS Unicode, and see the characters laid out in order!

Microsoft started to ship Windows with Indic fonts pre-installed. That was a boost to see 10+ Indic languages listed in your computer.

An exceptional tool

A wonderful tool has also been developed at https://www.learnsanskrit.org/tools/sanscript/ which is much more powerful and precise than others. It allows multiple encoding exchanges. ITRANS, IAST, Hindi, Bengali, Gujarati etc. A highly recommended tool indeed. But this tool is unforgiving, in the sense that it does not attempt any guess work, related spellings etc. So you need to be careful in typing the exact encoding. Its use and power is still there even after Google's tools, for batch processing, multiple encoding and precision of encoding. If you know what you are typing, there is no guess work even for the not so usual or new words, not in Google's dictionary.

The G factor

The next step of real help for transliteration came from Google with its India operation and focus on Indian languages. The first time I noticed (this could have been before or different) was in Blogger editor, there was a choice of transliteration on the fly. You type the approximate spelling as if typing in English, and it changes it to proper devanAgarI script! It would given suggestions, in case of ambiguities. It even had a virtual keyboard, where you could handpick the characters for the difficult words and combinations.

They also had a widget, and added transliteration in Gmail as well. It was a wonderful thing. Then they came with the new editor, in which they removed manual editing or the keyboard. That was a step back, since it didn't give you all choices, and no choice to manually edit!

Then they also launched a web-based transliteration service that overcame all these problems, had a virtual keyboard again, and gave some 15+ language choice. Once again, great job.

Google IME - the equalizer

The latest in the series is the IME, a downloadable piece that run on your computer after a single install. Many readers outright reject it saying why install a software when you can do it on the web!

There is a major advantage of this IME from Google. While it has the full power of the existing service, here are some advantages -
  • With the net based, you needed a good network connection u all the time. Some people can't afford that, since they pay for the connect time as well, or are on a very slow connection.
  • At times, due to the browser misbehavior or something, typing in Blogger or Gmail would cause cursor jumping. That is, you type on line 5, characters show up in line 2! No kidding, happened many times with me. This doesn't seem to happen with IME so far!
  • The IME comes between your keyboard and OS, so now for almost all softwares on your computer, you can directly type in Indic languages. Be it Firefox, Safari browsers, or Word, Excel, Powerpoint. Earlier you had to use a tool to type in Sanskirt, copy and paste from there to other destination software.


In the above image, the small floating toolbar on the upper right (above column B in the Excel spreadsheet) is that of the IME. As you type, the possible choices are displayed underneath (under namastubhyam in the example above).

To install the IME, go to the IME link and download the proper version for your computer. Watch out for the 32 bit and 64 bit versions. For each language, you will need to install one IME. This is only one time, so go ahead.

After the download, install the program.

In the settings, do set up shortcut keys, so that you can switch between English, Sanskrit, Hindi, Bengali easily. I have set up Control-Shift-1 for English, Control-Shift-2 for Sanskrit and Control-Shift-3 for Hindi.

Now, for any application that takes Unicode, you can press the shortcut key sequence, and a small 3 icon menu pops up, that sows you that you are typing using the IME. Try it out. You can type directly in the comment field of Facebook, or in Blogger or Wordpress like in this post, MS Word, Notepad, Photoshop, Excel, Powerpoint, Skype, Gtalk ... anywhere. No more cutting and pasting from a website, when you are out of reach!

And here is even better part. If you have multiple software open, like a chat window and a browser, you can choose to type in English in one, Sanskrit, Hindi in another, Greek in yet another! Now that is heaven!

Give it a try. It is almost perfect solution for transliteration and computers.

Next stop? Voice to words for other languages. Let us see how long will that take.



If you have any comments, suggestions, links to new tools, or questions on transliteration on computer, please leave a comment below (Click on the Comments link or click on the post title to see all the comments below) or send an email. Do not let your desire to type in your Indian language even on computer be hampered by technical difficulties.

Disclaimer: This is not an official, complete, historical account, but my personal account of the events as I saw and followed. Any omissions are either due to ignorance or to keep the story short.





(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।

Friday, July 9, 2010

Body is instrument for all (good) deeds - शरीरमाद्यं खलु धर्मसाधनम्

शरीरमाद्यं खलु धर्मसाधनम्

śarīramādyaṃ khalu dharmasādhanam

sharIramAdyaM khalu dharmasAdhanam.

This body is surely the foremost instrument of doing [good] deeds
kAlidAsa in kumArasambhavam [5.33]

This is also the motto of AIIMS - All India Institute of Medical Sciences, premiere medical institute in New Delhi, akin to John Hopkins of USA.

When pArvatI (पार्वती) decided she was only going to marry shiva, she had tried to impress shiva with her beauty. She became an attendant at his Ashrama. At the appropriate moment, prodded by indra, and aided by vasant (spring), kAmadeva shot the arrow of desires at shiva, just when he saw pArvatI.

When shiva was disturbed for a moment, he quickly regained his focus, found the culprit in kAma (desire), vanquished it by burning it to ashes with his third eye of knowledge. i.e. he killed his desire through the laser of his knowledge eye.

Thus humiliated, pArvatI became determined to win him with her penance, if not by beauty. She decided to win shiva with penance and austerity. When her mother heard of this resolve, that her flower-delicate princess-daughter of tender age will do penance like hardened ascetics in the cold snowy himAlayas, She tried to stop her, and said 'u maa' (उ मा) "oh [dear] no!". And from that day on, pAravtI was also called 'umA'

pArvatI did penance that was unheard of. There were grades of hardship ascetics were doing. Some would eat no grain. some would eat only fruits, no roots since eating the root kills the plant. Some would eat only fallen fruit. some gave up fruits also and only survived on leaves. Some would only eat fallen leaves.

What hardships! Self inflicted to experience the lack of desire, and control of kAma.


But pArvatI went one step further, because shiva was not yet impressed with her penance. She vowed to not even eat the fallen leaves! People cried out at such harsh vow, and old ascetics tried to convince her to leave such hard resolves. But she stuck to her resolve. And she was called aparNA (अपर्णा), a-parNa-aa = one without [eating] leaves. -aa suffix makes it feminine.

Over time, pArvatI lost much body fat, and she was looking bodily weak, more like a sannyAsI than a young maiden princess. Then moved by this, shiva comes to her, disguised as a ascetic himself.

After accepting her hospitality, he asks:
- Are you getting wood [for fire rituals, yaGYa] and kusha grass easily [making bed]?
- Is the water suitable for bathing?
- Are you doing penance according to your abilities only [and not overexerting yourself]?
- [for] the body is surely the foremost instrument for all [good] deeds [actions, duties].

On knowing her intention of penance, to test her, or for his own amusement, the disguised shiva starts to talk bad about shiva, of his being poor, roaming the cemeteries, having serpents around him for garlands and wristbands, elephant skin for a dress ... to which the devout pArvatI vehemently counters.

Of course, we know how the movie ends :) :)
Happily ever after!




And now the language aspects -

sharIramAdyaM (शरीरमाद्यम्) = sharIra (शरीर) + Adyam (आद्यम्)
sharIra = body
Adyam = first
Adi (आदि) = beginning

khalu (खलु) = for emphasis and also used at times as meter filler

dharmasAdhanam (धर्मसाधनम्) = dharma (धर्म) + sAdhanam (साधनम्)
dharma = duty, right act, what needs to be done ...
sAdhanam = instrument



(c) Shashikant Joshi । शशिकांत जोशी । ॐ सर्वे भवन्तु सुखिनः ।