What is so ‘scientific’ about Sanskrit? #SeriousQuestion

@zeusisdead posted this query on twitter, and that finally prompted me collate all the material I could find on this topic; because this topic has bothered me for a long time.

“Sanskrit is the ideal language for computer science” is a view that is so widespread in India, that my mother, who is 70, and knows little about Sanskrit, and even less about computer science, passionately believes this, and I can’t convince her otherwise. Indians are in love with the concept that things invented in India 2000 years ago are still better than the best that the western world can throw at us today.

A broader question is the one that ZeusIsDead asked: what is so ‘scientific’ about Sanskrit?

As far as I can tell, there are two interesting aspects to Sanskrit:

  • Sanskrit is the first language to have a formal grammar defined; and there is evidence that Pāṇini’s work in this area influenced modern linguists like de Saussure and Chomsky. (And oh, Devanagari is awesome)
  • One guy in NASA in the 80s tried to push Sanskrit as an ideal language for Artificial Intelligence applications; he was neither able to convince the AI community of this, nor was he able to make much headway in this himself. This approach is largely dead, but Indian media and the ancient-Indians-were-the-best crowd did not get the memo.

In short: Pāṇini’s Grammar for Sanskrit was a phenomenal work that probably influenced modern linguists, but it is not particularly useful in Computer Science.

Influence of Sanskrit on Modern Linguistics

From the Wikipedia page on Pāṇini:

Pāṇini’s work became known in 19th-century Europe, where it influenced modern linguistics initially through Franz Bopp, who mainly looked at Pāṇini. Subsequently, a wider body of work influenced Sanskrit scholars such as Ferdinand de Saussure, Leonard Bloomfield, and Roman Jakobson. Frits Staal (1930-2012) discussed the impact of Indian ideas on language in Europe. After outlining the various aspects of the contact, Staal notes that the idea of formal rules in language – proposed by Ferdinand de Saussure in 1894 and developed by Noam Chomsky in 1957 – has origins in the European exposure to the formal rules of Pāṇinian grammar

How exactly did this influence modern linguists?

In particular, de Saussure, who lectured on Sanskrit for three decades, may have been influenced by Pāṇini and Bhartrihari; his idea of the unity of signifier-signified in the sign somewhat resembles the notion of Sphoṭa. More importantly, the very idea that formal rules can be applied to areas outside of logic or mathematics may itself have been catalyzed by Europe’s contact with the work of Sanskrit grammarians

Here, an important connection to computer science also can be seen:

Pāṇini’s grammar is the world’s first formal system, developed well before the 19th century innovations of Gottlob Frege and the subsequent development of mathematical logic. In designing his grammar, Pāṇini used the method of “auxiliary symbols”, in which new affixes are designated to mark syntactic categories and the control of grammatical derivations. This technique, rediscovered by the logician Emil Post, became a standard method in the design of computer programming languages. Sanskritists now accept that Pāṇini’s linguistic apparatus is well-described as an “applied” Post system. Considerable evidence shows ancient mastery of context-sensitive grammars, and a general ability to solve many complex problems. Frits Staal has written that “Pāṇini is the Indian Euclid.”

Sanskrit as an ideal language for AI applications

In 1985, Rick Briggs wrote a paper for the Association for the Advancement of Artificial Intelligence titled Knowledge Representation in Sanskrit and Artificial Intelligence. At that time, AI researchers were focused on trying to construct artificial languages that could be used in AI so that computers would not have to deal with the ambiguities of real languages. Briggs argued that instead of constructing artificial languages, we could simply use a highly structured language like Sanskrit.

Here is what he wrote in the abstract:

In the past twenty years, much time, effort, and money has been expended on designing an unambiguous representation of natural languages to make them accessible to computer processing. These efforts have centered around creating schemata designed to parallel logical relations with relations expressed by the syntax and semantics of natural languages, which are clearly cumbersome and ambiguous in their function as vehicles for the transmission of logical data. Understandably, there is a widespread belief that natural languages are unsuitable for the transmission of many ideas that artificial languages can render with great precision and mathematical rigor.

But this dichotomy, which has served as a premise underlying much work in the areas of linguistics and artificial intelligence, is a false one. There is at least one language, Sanskrit, which for the duration of almost 1,000 years was a living spoken language with a considerable literature of its own. Besides works of literary value, there was a long philosophical and grammatical tradition that has continued to exist with undiminished vigor until the present century. Among the accomplishments of the grammarians can be reckoned a method for paraphrasing Sanskrit in a manner that is identical not only in essence but in form with current work in Artificial Intelligence. This article demonstrates that a natural language can serve as an artificial language also, and that much work in AI has been reinventing a wheel millenia old.

The fact that someone from NASA (NASA!!!!) wrote this, and he claimed that Sanskrit is better than the efforts of modern researchers, gave the ancient-India-was-awesome crowd, and Indian media a collective orgasm. The web is full of people claiming that Sanskrit is the ideal language for computers, and if you follow the trail of references, all roads lead to this one paper by Briggs. (It is important to note that NASA itself has no official position on this; also, random rumors on the web about some “Mission Sanskrit” by NASA are hoaxes.)

Unfortunately for Briggs and for Sanskrit, this effort never did pan out. Looking at modern AI and natural language processing research, one is hard pressed to find any papers that reference Sanskrit in anything other than simple translation of Sanskrit or other Indian languages.

Vague Ramblings from the Internet

There’s this speech by Justice Markandey Katju titled “Sanskrit as a Language of Science. It rambles on for pages, but makes only two semi-relevant points:

  • [Sanskrit] enabled scientific ideas to be expressed with great precision, logic and elegance.
    • This is just proof by assertion. There is no real support provided for this statement.
    • Also, this is in direct contradiction to another article by a Sanskrit lover which claims that one of the great attributes of Sanskrit is that the same sentence can have two or more completely different meanings. (Scroll down on that page to “Sanskrit is a Context based Language”, and the next section.)
  • The alphabet of Sanskrit is arranged in a very logical and scientific manner.
    • This is certainly true. I’ve blogged about it here.
    • While this fact is pretty cool, it has no relation to the use of Sanskrit as a Language of Science

The rest of the article rambles on about ancient Indian philosophy, and the achievements of our ancestors in the fields of Science and Maths and Astronomy and Medicine and Engineering – all of this, while being interesting and impressive, does not really throw any light on the topic being discussed.

Overall, the internet is full of articles like this and this which go on for pages describing the various interesting features of Sanskrit. And people somehow list this as proof that Sanskrit is the ideal language for Science. A careful reading of the articles usually shows that there is no connection between the various cool features of Sanskrit and its suitability for Science.

Many people also point out that European languages are derived from Sanskrit. That is slightly inaccurate. Linguists have hypothesised the existence of a language called Proto Indo European which is the common ancestor of Sanskrit and most European languages. In any case, that has nothing to do with Sanskrit’s suitability for Science.

The best comment I got was this:

Vedas are in Sanskrit and Vedas are eternal. Hence, Sanskrit is the oldest language.

Sadly, that is the level of 90% of the discourse on this topic on the internet.

Follow-up Reading

Antariksh Bothale, who studies Computational Linguistics at the University of Washington, Seattle has this interesting answer to the question “Is Sanskrit over-rated as a language in India”. Lots of good nuggets of information.

Also, if you don’t know how awesome the Devanagari script is, check this out

Conclusion

In short, one guy thought Sanskrit might be a good language for AI applications, but that turned out to be a dead end. Sorry.

But, Pāṇini rocked!

Note: I am not an expert in this field, and this is just information I’ve collected from the internet. So if anyone is able to uncover any additional information, or even information that contradicts what I’ve said, please leave comments below. I’d love to be mistaken on this point.

Update: There are lots of comments below – some agreeing with me, and some disagreeing. None of the disagreeing comments have caused me to change my mind – so I’m sticking with my opinions above. Read on below if you want to see the alternative viewpoints.

56 thoughts on “What is so ‘scientific’ about Sanskrit? #SeriousQuestion”

    1. @Kshitiz, No, sorry. I’ve not read Vikram Chandra’s book. The review you posted seems to indicate that he has gone off on tangents that are not really related to computer science. But if someone who has really read the book comments, that would be great.

  1. namaste,

    Yes unfortunately there are a lot of people who are blinded by their love for Samskritam and perpetuate tall claims like “Sanskrit is the best language for computer science”. Sad.

    While, Samskritam does not need to resort to lies to establish its greatness , such false claims are very counter-productive.


    जयनगर-विभागः | बेङ्गळूरु-महानगरम्
    संस्कृतभारती

    1. Incorrect, pIz read this http://www.hitxp.com/articles/sanskrit-lessons/dhatu-root-verbs-samskrit-grammar-dictionary/

      In short, for a language to be used as a programming language it needs to have context free grammar which then can be compiled into machine understandable binary code by a compiler.

      Sanskrit is the only human spoken language which has a context free grammar which means while you cannot write a compiler which can read and understand (parse) english sentences bcoz of the ambiguous nature in English sentences, you can definitely write a compiler for Sanskrit which can understand sanskrit and compile the instructions into binary.

      If all the geeks behind computer software were sanskrit speakers instead of english then all languages like java, sql etc would not have had their own syntax, instead they would be simply parsing sanskrit sentences. Bcos there would have been no need to reinvent new context free grammar for new programming languages.

      Infact the BNF notation used to develop programming languages is based on Sanskrit notations described by Panini in his Ashtadhyayi. See http://www.princeton.edu/~achaney/tmve/wiki100k/docs/Backus%E2%80%93Naur_Form.html

  2. Guess you have not gone through this link in its entirety.
    http://www.hitxp.com/articles/sanskrit-lessons/dhatu-root-verbs-samskrit-grammar-dictionary/
    If sanskrit was the prominent language in computer science instead of english then there would be no need to invent languages like sql bcos sanskrit itself is structured like sql or c. One just has to write the compiler to parse sanskrit sentences and normal sanskrit language sentences can b used to query databases.
    Also sanskrit never needs loan words no matter what new technology or concepts get invented or discovered. Sanskrit language has in built mechanism to create meaningful new words based on attributes. See http://www.hitxp.com/articles/sanskrit-lessons/sanskrit-lesson-1-secret-science-sacred-sanskrit/
    Sanskrit is the best language to store information which is a key requirement in IT. To understand this one has to understand dhatu and how data is stored in sanskrit sentences. Any way the true power of sanskrit in AI and NLP will be appreciated the day it gets successfully applied in these fields.

  3. Thanks for doing the research on this… I’d often wondered how that claim about Sanskrit and CS came about.

    On a related note, I’m looking forward to @sidin’s new book “The Skeptical Patriot”, which examines several such beliefs about the glories of the Indian civilization. It’s not yet published, but is expected to be available in a month or two. I wouldn’t be surprised to find the Sanskrit claim among those he’s covered.

  4. Also PIE is a language born out of pure imagination of linguists who refused to probe further into the antiquity of Sanskrit, just bcoz the pointers show sanskrit somewhere at the root of indo European languages. Why does Lithuanian for instance is filled with sanskrit words as is?
    Read about Pie below. Can anybody answer who spoke pie, any literature in pie or any reference to a language like pie in other ancient texts worldwide? http://www.hitxp.com/articles/culture/sanskrit-greek-english-latin-roman-words-derived-pie-proto-indo-european-language/

  5. Interesting article indeed! May be those who claim sanskrit as the ideal language for programming should produce a small program as a proof which maybe parses sanskrit sentences? 🙂
    Also normally sanskrit has this style of not mentioning few words at all in a sentence but the reader has to assume those based on the context. Even ashtadhyayi has followed this style as far as i have read it. How can that be handled in a program, i wonder.

  6. Thanks for clearing up some of the myths. I just have one question
    “Vedas are in Sanskrit and Vedas are eternal. Hence, Sanskrit is the oldest language.”

    Isn’t that true? I don’t know about “eternal” but Vedas are the oldest scriptures in the world right? (correct me if I am wrong). So doesn’t that mean that Sanskrit is the oldest language, at least in written form?

    1. @Gaurav,

      • India wasn’t big on writing; we had more of an oral tradition. So “Vedic Sanskrit” (more accurately called Old Indo Aryan, or Old Indic) was used to compose and orally recite the Vedas for probably a 1000 years before it was first written down in any form that has survived.
      • Because of the oral tradition, and the lack of writing in general, it is difficult to get reliable evidence of when this language was first used.
      • This language was rather different from what we now know as Sanskrit.
      • In 5th century BC, Panini standardized and codified the grammar of Old Indic. It is estimated that some variation of this language was in use for a 1000 years before that (i.e. the oldest evidence for the existence of “Vedic” compositions is from 1500BC.)
      • By contrast, there is solid evidence for various forms of writing from Egypt, Sumer, and the Akkadian empire that are older than 2500 to 3000 BC. So chances of Old Indic being the oldest language are difficult to justify.

      However, Panini’s grammar is pretty impressive for its time, and there doesn’t seem to be anything comparable to it in that time frame.

      1. My dear Navin, there are more solid evidence for sanskrit 5000BC old in our country, if u don’t know then check this website- bharathgyan.com, and these are Ramayan dating 5000BC and Mahabharath dating-3000BC with all scientific research

  7. Navin —

    Like you, I, too concluded, a long time ago, that your grandmother’s reaction, and that of a million other Indians, has more to do with a sense of nationalistic pride than dispassionate scientific inquiry. (Gurudev is an example of one who, even though he appears competent to prosecute the issue with real understanding, is swayed by that “saffronist” reverence rather than logic and knowledge.) And I, too, have described this phenomenon with exactly the same tone of sarcasm as you have. But even though I know a bit of computer science (I have practiced it for decades) and I know a bit of Sanskrit (grew up in a Brahmanic environment), I feel my rejection of the hypothesis that Sanskrit has a few things going for it as a language for use in AI (and related endeavors) is premature without deeper study. I didn’t sense, from all you’ve written above, that you addressed yourself to the Rick Briggs article with any significant vigor. Net-net: I would like to pursue this with you somehow, if a proper forum could be found.

    1. @Ajit, I would say this: A large number of people believe/claim that Sanskrit is an ideal language for use in AI/computerized processing. However, there is no evidence so far to support this claim. The one person with some background in computational linguistics who made this claim did it in one paper, has not followed it up with any further work, nor has anyone else from the field done so. Certainly, absence of evidence is not evidence of absence, so I certainly can’t claim that Sanskrit is *not* appropriate for this purpose. But, there is no justification to the claim that it *is* appropriate either.

      I don’t have enough of a background in computational linguistics to pursue this further. But I do have enough of a background in CS research to be able to confidently claim that no serious work/research is happening in this area currently. Looks like a dead end to me.

      I am not enough of a computational linguist to pursue this further

    2. Well I think you are dragging thinks based on bias against saffron color. This belief existed even before saffron was chosen by majority against your will.

      On rest of the things I agree with you.

  8. you are just a silly boy with a glass of water trying to put out the great flames of sanskrit awakening!

  9. From my individual experience what I draw. (BTW I dont know sanskrit at all)

    – I have issue with hyper forgetfulness, yet few mantras that I may have learned they just come out of my mouth no matter what state of mind I am in. I find this attribute just out of the world in sanskrit. and I guess none can even think of challenge this because sustaining volumes and volumes of wisdom in oral forms for “thousands” of years prove that point.

    – Second aspect that sets it apart for me is, the shear perfection in scritp and how it structurally captures the entire movement of body organs coming into play (tongue, lips etc)

    1. @Ashmish, Both your points, while interesting, have nothing to do with whether or not Sanskrit is an ideal language for computer science. I have already mentioned the second aspect in my article.

  10. I have read the article and the comments too. You have presented a balanced and critical view of the idea. I think you would like the proof in support of Sanskrit as well-suited-for-computer language. I have an evidence but I cannot give it as a proof. The reason is that the evidence I refer to here is not attested by the Sanskrit scholars. The evidence is

    I have developed fully rule based Grapheme to Phoneme converter as a part of Sanskrit Speech Synthesizer. The converter program, given the rules are correct, gives perfect output (100% accuracy). The rules are extracted based on the observational study of Sanskrit speech, and on the bases of different instruction how to correctly pronounce Sanskrit. The rules are also attested by shastraic quotes.

    It is not a proof due to the condition “given the rules are correct”. This tool can be presented as a proof only if the rules are attested by the scholars to be true, practically and traditionally. For now, their correctness is self proclaimed. If it is attested as a proof, then it will be small but significant proof of “Sanskrit is well suited language for computer”. It is notable that no other language has this module fully rule based. Most languages rely on the pronunciation lexicon largely for exceptions.

    1. @Diwakar, Fair enough. I’m willing to concede the point that Sanskrit might be a language really well suited for speech synthesis.

      However, that is not what most people think of when they think of “a language well-suited for computers”. They are thinking of natural language understanding, which is a much harder problem.

      1. I used it in speech synthesis – does not mean that it is well suited for speech synthesis (only). What I said that this is small but significant evidence. What I mentioned is a language module. Every great invention is rooted in some small thing. As invention of rocket is based on flying balloon and then on aircraft. The colourful light coming from inside the LED screen has its root of invention in Edison’s bulb.
        As you have also said that in the time of Rick Briggs, Sanskrit was thought upon to be used in place of programming languages, but now we have very effective programming languages. Therefore the efforts to use Sanskrit have been stopped (almost). That is why not enough work (though much work) has been done on Sanskrit NLP to make it understood by computers.
        Yes, Natural Language Understanding is hard, very hard task. But like most of the hard tasks, it can be achieved through smaller tasks.

    2. Kudos Mr.Diwakar Mishra! I think there are a couple of points I’d like your and Navin’s views on.

      1) What is really ‘natural’ about what we call natural languages? There is nothing natural about English (for example)- words are created by the requirements of a changing environment (and lost); Meaning languages are not natural extensions of anything a grammar. Computer languages on the other hand manifest from sets of rules – structure being an automatic flourish of that. Sanskrit, given the rigor and discipline enforced by SIMPLE grammar therefore seems more akin to such structure – structure lending to expansion, conjucation and traceability.

      2) What is stopping you from getting the attestation? How can we help?

      1. The term Natural Language does not mean a language which has naturally evolved, but it is a technical term used for Human spoken languages. What makes it different from artificial languages that they have variations, and ambiguity – that one expression can have more than one meaning, and more than one expression may have one meaning.

        Attestation can be done after I present the rules, and the basis of those in front of scholars who are conscious about the correctness of speech.

  11. Navin,

    I applaud you for giving pen to the thoughts – Any effort to bust myths must be encouraged. So that we we can establish whether something is truth or myth.

    But apart from providing a summary of what you searched and found in the internet, what exactly are you seeing/saying that disproves or proves anything? To be fair, shouldn’t your reasonable conclusion, if based solely on the ‘evidence’ you gathered be that you couldn’t conclude that Sanskrit is more particularly suited for it; but there is nothing you have presented here that says otherwise either.

    Now, to the point of being suited to be a computer language, what all does it take? You admit you do not know. That being the case on what basis and credence do you dismiss the published findings of the NASA scientist? Because what he said has not become reality, is that the only reason for you rejecting it? If that is sufficient, wouldn’t the plate be still flat and not having been rolled up into an imperfect ball as it has recently?

    I know 7 real programming languages, three distinct assembler levels machine interpreters and over a dozen ‘scripting’ ‘languages’. I also know English, Tamil, a wee-bit of Sanskrit and some colloquial Hindi. Instinctively I have felt and realized a few things which I will share:

    1) there is a more natural and un-halting formation in Sanskrit than the others. Because with only a few readings of Sanskrit letters and very basic grammar, I am able to generate meanings for other words; I can do that in several ‘computer’ languages too – but NOT in English (which in fact is where I have most fluency in!); to a much lesser degree in Hindi and Tamil as well even though though and likely because they borrow a lot of Sanskrit words
    2) When I look at organization of data (whether traditional data architectures or the recent concepts of big data to mean unstructured and voluminous collections) it is very clear that schemata that are being used even after 50+ years of modern computer science, have still not gotten to a stable plateau.

    To me that is indication that Mr.Briggs may have been on to something

    But by all means, if I have missed any of your counter-evidence or even if it is just thoughts based on an hypothetical or instinctive premise, please highlight.

    Sans that, it is unfair on yourself and all others for you write what sounds like a logical paper but is actually based on a subjective collection of internet missives. BTW I know you are seeking, rather than rejecting out of any malice because you have honestly stated the source and limitations of what information you used.

    Here is one final request: however ‘uneducated’ and ‘illiterate’ our grand mothers may seem like to us by our standards, it has been my experience that they are every bit as smart and questioning and seeking as we are and our children are.

    1. @Sridharan, what you’re saying is literally true. I don’t have evidence to disprove that Sanskrit is more suited for computer processing.

      However, extraordinary claims require extraordinary proof. And considering that nobody is using Sanskrit for computer processing, nobody has written papers on this topic other than one guy, who did not continue this work, nor did anyone else, I think the burden of proof is on the people who claim that Sanskrit is more suited for computer processing.

      I mean, I can make the claim that every night when he’s absolutely alone in his room, Narendra Modi converts into an Ogre, and converts back to a human in the morning, or when someone else comes into the room. Would you be able to disprove it? Would you then claim that “based solely on the ‘evidence’ gathered you couldn’t conclude that Modi converts into an ogre; but there is nothing you could gather that says otherwise either.” No. You’ll say it’s a ridiculous claim and unless I provide some evidence, my statement should not be taken seriously. The burden of proof is on me because I am making a tall claim.

  12. A simple search on google scholar also shows the below articles. Interested to know more about what gurudev and diwakar are doing / saying / adding to this debate. Is any of this conclusive or helpful towards proving either side of the debate? Hope some of the below held. Wish to be able to spend more time on getting to the bottom of this topic, at some point in life …

    http://www.jstor.org/discover/10.2307/41694883?uid=2&uid=4&sid=21104729160477

    http://www.sciencedirect.com/science/article/pii/0888613X87900077

    http://repository.ias.ac.in/61380/

    http://sanskritlibrary.org/tomcat/sl/-/pub/lies_sl.pdf

    http://parankusa.org/ComputerProcessing.pdf

  13. Navin, I have read with pleasure your balanced views on the subject. I am hoping that the debate can reach the same level of dispassionate and honest argument. regards, Ashok

    1. I believe that a lot of research is being done related to the use of Sanskrit as a computer language. Could you please check why there is so much of research and studies being done on Sanskrit in other countries especially Germany. There has to be a very good reason.

        1. I also do not find the research being done on the use of Sanskrit as a computer language, but there is much research going on for ‘processing of Sanskrit language by computer’, in other words ‘Sanskrit Computational Linguistics’.

          A few links of such works
          sanskrit.jnu.ac.in
          sanskrit.uohyd.ernet.in
          sanskrit.inria.fr
          for other works you can search with names of Hans Henrich Hock, Brendon S Gillon, Peter M Scharf, Girish Nath Jha, Amba Kulkarni, Oliver Hellwig, Wiebke Petersen.
          you can see the series of Sanskrit Computational Linguistics conference proceedings. One of them is http://www.springer.com/computer/ai/book/978-3-642-17527-5

  14. So basically what you are saying is : ” I don’t know Sanskrit and I don’t know AI or computational linguistics. However my Google search has returned only a single paper written by a white man in the 80s. So you Hindus are making a big fuss about nothing. Move on there is nothing there. Oh and BTW , I will do you the honor of giving kudos to Panini”. Seriously ? How are you any better than those who claim Sanskrit is the greatest language there is because they are in the Vedas. I like discussions where the author knows what they are talking about. What you have done is kill the interest of a young researcher who might have aspired pursue this subject, especially in a country which desperately needs to reconnect with its relatively glorious past.

    1. @Ashish, extraordinary claims require extraordinary proof. So, people who make claims about Sanskrit being ideal for CS really have the burden of proof. I’m just pointing out that in the absence of such proof, this claim is suspect.

      I would love to have “authors who know what they’re talking about” write articles on this, but clearly, such people don’t exist, or find this claim too ridiculous to even refute.

      1. Sanskritians are not obliged to “prove” that it is or is not a language for AI. It is a stupid proposition because the problem is not Sanskrit – it did what it was designed to do – be scientifically sound, aesthetically appealing and spiritually enlightening.

        The problem is AI. It is one of the “hard” problems in Science (like consciousness in neuro science and Grand Theory in Physics). There is no general intelligence in sight for machines regardless of the language or syntax. In simple words, AI researchers have no clue on what gives rise to “intelligence” . The notion that it is an “emergent property of matter” has not gotten us anywhere in 60 years.

        So “Is Sanskrit the language of AI ” is a moot point. The question should be – “what is the most scientific natural language and can it be applied to computational problems” and the answer without a doubt is Sanskrit and it holds a lot of promise. Sure it could use some funds and interest through inter-disciplinary research.

        Paninian Sanskrit, inspired the “Backus Naur form” which forms for basis of context free and generative computer grammars of today. Linguists such as Noam Chomsky and Paul Kiparsky have applied Paninian notions in their research. There is a great new book “Geek Sublime” which touches this subject in slightly greater detail.

        As I suggest, lets be researchers, not skeptics. Here is a great lecture about Sanskrit’s spirit, aesthetics and scientific principles.

        https://www.youtube.com/watch?v=HZ8lox0Bulc

        Namaste.

  15. This whole idea that Sanskrit is the most suitable language for computers is a myth. Someone in 1985 writes an article and every damn dick and harry in India simply parrots that. 30 years have passed. Where is the product? Why don’t you guys come out with a product and then come out blazing? Empty heads.

    There are many wildest things people start quoting about Sanskrit. One of them is that word order does not matter. They give the example of “Rama goes to Village”. They give an equivalent in Sanskrit and then say word order is not important. Now, I can make this very English statement a simple twist as “Rama goes to-village”. Now, change the word order, the meaning is unambiguous. Anyway, if word order is not important, then changed sentences consume brain power to understand the sentence. In Tamil the normal order is Sobject-object-verb. But in Tamil also we can interchange the order. We can actually write a whole complicated sentence in one word. Those who know Tamil can attest this. For example, “Sellathiruppavarghalukkundu”. This means “Avaliability is for those who are remaining here without going there”. This does neither make the language simple nor complex.

    Anybody, who says Sanskrit is perfect and suitable to write logic for the consumption of machine, has not written a single piece of code in their entire life and are just empty heads.

    Oh another myth the Sanskritans float is that it is the mother of all languages. This is a myth and insult to the vast majority of the people in the world. It is a dead language and even if a guy can write a compiler for Sanskrit, there is nobody to speak Sanskrit.

    Sanskritan Indians would serve well not to make fools of themselves! Come on man, 30 years after Biggs, where is the product?

  16. Pingback: Quora
  17. The view that Sanskrit isn’t suitable for application in AI is just plain unproductive. While it may have sparked some interest on the topic it doesn’t take us anywhere. What is being wasted is time whether it’s YOLO you believe I or otherwise

  18. sanskrit language evolved like any other languages. the old rigvedic sanskrit is different from modern sanskrit. It has got infuences from “munda” language , prakrit and local languages where ever the proponants of sanskrit language migrated to in indian territory. Just like modern local language literature translated to english translations are available, the authors of sanskrit language just took the knowledge available in india either orally or literally in other languages like prakrit, and converted to sanskrit. So even if it seems , the knowledge is of sanskrit origin, it is not. But the proponents of sanskrits are very good in arguing , but they are not original thinkers in many areas of knowledge that comes from india. Valmiki is considered as a “vedar/archers ” community who doesn’t handle sanskrit and yet he wrote ramayanam in sankrit , its a classic example. Archieoligists and disspationate rationalists ascribe 89% of indian culture and tradition to other language communities.

  19. That which can asserted without evidence can be dismissed without evidence and so far no evidence has been provided to support the claim that ‘ Sanskrit is the most suitable language for AI’..

    And yes it is up to the ‘sanskritians’ to [rove their claim of sanskrit being the most suitable language for AI or electronic devices.

    1. Hei Hei,

      “Sanskritans” is a word patented by me. What the heck, you can us it too! In any case, I believe “Sanskritans” are full of it!

  20. In earlier comments, I had mentioned about a “small but significant proof” for Sanskrit as “most suitable language for computational processing”. I also mentioned that “assuming the rules are correct, the Grapheme-to-Phoneme (G2P) converter for Sanskrit that is used in Sanskrit speech synthesis gives perfect output. This is a fully rule based system”. No other language (as per my knowledge, any Indian, Western and east Asian languages) has used fully rule based system for this purpose. They highly depend on pronunciation lexicon.

    The two updates in this regard are:
    The Sanskrit speech synthesis system – Samvacaka, in which the mentioned G2P module is used is now live at http://sanskrit.jnu.ac.in/samvacaka/ You can try and use it. You may be not satisfied with synthesis quality because implementation of proper prosody has not yet been done.

    Another update is that, after this made live, I received some feedback about some errors in the G2P conversion. The solution found in the modification of some of the rules. Even after this change, the facts remains the same – “it is the only fully rule based G2P converter for any language, and gives perfect output”, because the required changes are some regular patterns. The implementation of the new version of G2P is still due.

  21. I just would like to mention let us just pause the talk for a moment and start doing something practical till we are at liberty and have some ability, still left, with us, lest there may not be even a talk on the subject.Is there anyone suggest some points to follow or to devote some time, energy and resources for any positive activity in this direction? I do invite suggestion/suggestions if there are any? ————-Shailendra

  22. It is really wonderful article. Thanks for sharing. But only thing is you had mentioned that Sanskrit is there from past 2000 years. Actually it should much more than that. Since according to Valmiki ramayana. Maharishi Valmiki wrote Ramayana in Sanskrit during Tretayuga. It means during Rama rajya. With respect to Rama Setu accordingly to present archaeologists it was mentioned it was built more than 13,500 years ago (even that is wrong); however, when you connect the dots Sanskrit language should be there at least some 3,000,000 years ago. Since Lord Rama ruled for 11,000 years! according to Ramayana.

  23. Actually, Chinese is a much better option, mainly because of its compact writing system. Twitter gives you 120 characters. In European languages, that’s 10-15 words. In Chinese, since each character is a word, more or less, you get 100 or so words. Programs written in Chinese would be almost ten times more compact. Where memory is an issue, written Chinese is a possible solution.

  24. Sanskrit alphabet is a ‘solfege’ for all the sounds that can be made by human’s…. each letter of the 47 (plus combinations) corresponds to a sound from human vocal apparatus, dentals labials etc.

  25. There’s a nice paper, “What’s Indian about Indian Mathematics?” by Divakaran that I read some time ago that sheds interesting light on the Indian rules based numeric system that used various prefixes and suffixes to indicate powers of ten, allowing Indians to express huge numbers long before others were able to do so.

    There’s also a lot of lovely Indian poetry indicating that Indians thought of the universe at much larger scales than any other cultures of the time; for instance, the answer to “how many stars are in the sky?” is “as many grains of sand as there are on as many beaches as there are grains of sand on any one beach.” (This is just grains of sand on one beach squared). I did a rough back of the hand calculation based on data I found on google some time ago and found that this number only falls short by about 10^4, not so bad considering how many stars are in the sky.

    1. There’s a lot of interesting science/maths/astronomy stuff that Indians did. None of that is really relevant to the current discussion.

  26. Navin,
    I guess, you are playing devils advocate to bring out facts in favor of Sanskrit. 🙂
    Anyway, from different perspective, based on the work that I am doing now (as programmer by hobby), to work on Devanagari and other languages, I think it is very difficult to come out with working computer model to verify supremacy of Sanskrit now.
    1. Crux- We are 30 years*x million workforce=30x million work hours ahead of that time when challenge to figure out best language was posed. Alternatives are already built. Adaption happened!
    – As I dig deep, I find a lot to be addressed – encoding, performance because of multi-byte, availability and knowledge of tools, semantic issues, graphical representation etc… the entire ecosystem from keyboard to compilers to research to linguist… doesn’t exist. Essentially, we should come out of that Utopia where Sanskrit exist ( I am just talking about existence of Sanskrit not even it’s supremacy as computer language shockingly, we have now ~10k native Sanskrit speakers out of billion population!!). Its too late, nationalists like me have lost it by huge margin of time, knowledge, commercial investment.

    Bit Digression, Well I am afraid, it should not happen to other derivative languages… and therefore I established a github repo (https://github.com/jalajc/bhasha, plez help me scale it ) while researching for Hindi particularly, I found derivative languages to be far more flexible(read ambiguous but powerful) even in general reading and writing to suit any kind of programming language. Derivatives are mostly (e.g. Hindi) are sound based… what you speak is what you write, so same word in writing never remains same because people have different tones (so the rise of dialects). Someone pointed this tonal difference in comments about Nepali language.

    Finally,
    Note to commentators who support the article because of ‘context shortcoming’:-
    Contextual reference – we need understand why and when “Context” is relevant e.g. “You are Ok” (“Asking” vs “Asserting” vs Irony) cannot be unambiguously resolved until you know the context. Another example, matrix inverse ([A]^-1)= [A]*([I]^-1) because we know ‘by definition’ [A]*[A]^-1=[I], but does it exists?

    In nutshell, contextual reference should only be discussed if something cannot be unambiguously determined. For an statement for which if exists any ‘ruleset’ that can resolve ambiguity of missing information does not have contextual canonical.

  27. This language has survived all attacks on India for past 4000+ years as the western scholars would admit but most likely for 5000+ years as it is an Indo-European language that took more than 1000 years to compose 4 Vedas and grammars ( ~9 different) before Panini gave the new combined single grammar.
    IIIT at Hyderbad did the Latest research on computability of Sanskrit language for NLP and Paul Allen’s teams went to Hyderabad and believe they extracted the required knowledge.
    Yes a demonstrable product was on horizon with Prof Sanghal and colleagues work but somehow a product did not emerge for computer scientists.
    Remember the ideas based on this ancient language have among them:
    1. Longest Phonetic tradition of recitals for 5000 years, then committed to barks of trees, etc. Max Muller finally spent a few million pound british, to compile and print all Vedas in one go.
    2. Discovery of Zero, Whole Number, Infinity and Decimal place came from Sanskrit.
    3. There is tremendous revival of Language and it is a mater of time before you see a NLP parser using Sanskrit rules and same will be useful for Hindi and other Sanskrit oriented southern and Bengali Languages.
    4. Google has done wonderful transcription service and probably already reverse engineered the composition rules thus rendering compound letters and words both from Hindi and Sanskrit and other India languages as well. So the solution may not be directly traceable to Sanskrit but embedded in it.

  28. नवीन जी आप अपनी पोस्ट को हिंदी में रूपांतरित करें । ताकि मेरे जैसे को समझ आ सके कि आखिर आप वास्तव में क्या बता रहे है क्योंकि में अंग्रेजी भाषा मे कमजोर हूँ अतः आपसे ऐसा निवेदन है।

  29. A person who doesn’t know the language is writing an analysis of the use of language. How shallow can that analysis be doesn’t need higher logic to deduce.

    Yes, Sanskrit grammar is way too detailed. I studied it for three years in school but the grammar, with its variations for each category of words is phenomenal. I couldn’t know Sanskrit yet, I know from what I could cram that a word can’t have any connotation other than defined by its grammar. Quite obviously it removes any kind of subjectivity and confusion. However, I know from my own experience that it’s very difficult to master this language. We Indians can’t master it these days and how would it be possible for foreigners to learn and master it. To master any language one needs an environment where it’s freely spoken and such thing isn’t possible for Sanskrit. And that’s precisely the reason why Sanskrit can’t be used for computers because large number of people need to learn this very different to learn language.

    Just from the logical view, I just wonder how could a person with little knowledge of a subject conclusively analyse that subject? When I saw this I was keen to know some deep analysis – negative or positive view points don’t matter. However, it turned out to be a shallow tirade just to gratify himself by proving his opinion to his own self with taking all aspects into consideration.

    West has come up with amazing science discoveries however, to negate our own past is foolish. Typical India psyche of running down our own selves. There are ancient books describing certain things. We haven’t studied them thoroughly. So, to jump up to claim or negate the claim are equally foolish. There surely is something that needs to be explored thoroughly. It’s a matter of pride even if the scriptures have something high and logically correct. Negating without thorough analysis is simply preposterous.

Leave a Reply

Your email address will not be published. Required fields are marked *