scorecardresearch
Friday, Mar 29, 2024
Advertisement
Premium

‘Eureka moment’ for Indian at Cambridge, as he solves 2500-year-old Sanskrit language problem

Dr Rishi Rajpopat may have solved a puzzle in the ‘Ashtadhyayi’, allowing Panini's Sanskrit grammar to be taught to computers for the first time.

sanskrit language panini ashtadhyayi cambridge rishi rajpopatRishi Rajpopat, 27; and (right) a medieval textbook based on Panini's rules for Sanskrit. (Sources: Cambridge University, Wellcome Images)
Listen to this article
‘Eureka moment’ for Indian at Cambridge, as he solves 2500-year-old Sanskrit language problem
x
00:00
1x 1.5x 1.8x

This story is part of Express Puzzles & Games, where we make language fun with daily crosswords, special puzzles and trivia-rich quizzes. Sign up to start playing, or follow @iepuzzles on Instagram for updates.

Dr Rishi Rajpopat, a PhD candidate at Cambridge University, claims to have solved a long-standing grammar problem in the Ashtadhyayi — a Sanskrit text written by the scholar Panini around the 6th or 5th century BCE.

The Ashtadhyayi explains the structure of Sanskrit, and has often been compared to the Turing machine due to its complex set of 4000 sutras (rules) for creating words — a linguistic algorithm of sorts. Using it, you can feed in the base and suffix of any Sanskrit word, and produce grammatically correct words and sentences. However, two or more of Panini’s grammar rules can apply at the same time, which has often been a source of confusion.

Advertisement
An 18th-century copy of Panini’s ‘Dhatupatha’, a list of Sanskrit verbal roots attached to his grammar, the ‘Aṣhṭadhyayi’. Panini’s writing is known to be concise yet elegant. (Source: Cambridge University Library)

To resolve these conflicts, Panini had written a ‘meta-rule’ (rule governing rules), which had traditionally been interpreted as: ‘In the event of a conflict between two rules of equal strength, the rule that comes later in the serial order of the Ashtadhyayi wins’. 

But in his PhD thesis, aptly titled In Panini We Trust, Dr Rajpopat has rejected this system, choosing to go with a simpler interpretation of Panini’s sutras that stays loyal to the text.

Festive offer

He argues that the meta-rule has always been misunderstood; what Panini really meant, was that for rules applying to the left and right sides of a word, readers should use the right-hand side operation. Using this logic, Dr Rajpopat found that the Ashtadhyayi could be used as an accurate ‘language machine’, producing grammatically sound Sanskrit words and sentences almost every time.

rishi rajpopat Dr Rajpopat’s simpler approach came after advice from his supervisor. Prof Vincenzo Vergiani told him, “If the solution is complicated, you are probably wrong.”

Experts are calling Dr Rajpopat’s findings ‘revolutionary’, as the discovery will allow Panini’s Sanskrit grammar to be taught to computers for the first time. The linear and exact nature of the Ashtadhyayi‘s 4000 rules also make it suited for natural language processing (NLP) systems, as seen in the viral ChatGPT bot.

Advertisement

Also Play | The Express News Quiz: Lara Croft, Rahul Gandhi and a week of killer discoveries

“Computer scientists working on NLP gave up on rule-based approaches over 50 years ago,” says Dr Rajpopat, “so teaching computers how to combine the speaker’s intention with Pāṇini’s rule-based grammar to produce human speech would be a major milestone in the history of human interaction with machines, as well as in India’s intellectual history.”

Sanskrit has less than 25,000 estimated speakers in India, but casual interest has been rising over the last decade. Panini is widely regarded as the ‘father of linguistics’, with his work having influenced European scholars since the 1800s. 

More on the ‘Ashtadhyayi’

panini stamp sanskrit grammar Panini, the ‘father of linguistics’, in a 2004 stamp issued by the Govt of India. Little is known about his personal life.

The Ashtadhyayi is an eight-chapter treatise on the phonetics, semantics (meanings), and syntax (arrangement of words) of classical Sanskrit, as laid out by the grammarian and scholar Daksiputra Panini. It treats the language as formulaic and rule-bound — engineered, in a sense — and offers differences between how Sanskrit is spoken, versus how it ought to be used in sacred texts.

Advertisement

Apart from its contribution as a ‘language machine’ (not a literal one, but a conceptual model), the Ashtadhyayi has also been used to glean cultural, religious and geographic information about ancient India. Panini likely lived in the Gandhara region, which today lies in northwest Pakistan and parts of southeast Afghanistan.

First uploaded on: 15-12-2022 at 19:49 IST
Latest Comment
Post Comment
Read Comments
Advertisement
Advertisement
Advertisement
Advertisement
close