MIT School of Vedic Sciences’ paper entitled “PAIAS: Paanini Ashtadhyayi Interpreter As a Service” has been accepted for publication in the upcoming World Sanskrit Conference in Vancouver, B.C Canada in July 2018.
Authors: Sarada Susarla, Tilak Rao and Sai Susarla.
Below is the abstract of the paper.
Abstract
It is widely believed that Pāṇini’s Aṣṭādhyāyī is the most accurate grammar and word-generation scheme for a natural language there is. Several researchers attempted to validate this hypothesis by analyzing Aṣṭādhyāyī’s sūtra system from a computational / algorithmic angle. Many have attempted to emulate Aṣṭādhyāyī’s word generation scheme. However, prior work has succeeded in taking only small subsets of the Aṣṭādhyāyī pertaining to specific constructs and manually coding their logic for linguistic analysis.
However, there is another school of thought that Aṣṭādhyāyī itself (along with its associated corrective texts) constitutes a complete, unified, self-describing solution for word generation (kṛt, taddhita), compounding (samāsa) and conjugation (sandhi). In this paper, we describe our ongoing effort to directly compile and interpret Aṣṭādhyāyī’s sūtra corpus (with its associated data sets) to automate its prakṛti-pratyaya-based word transformation methodology, leaving out kārakas. We have created a custom machine-interpretable language in JSON for Aṣṭādhyāyī, a Python-based compiler to automatically convert Aṣṭādhyāyī sūtras into that language, and an interpreter to reproduce
Aṣṭādhyāyī’s prakriyā for term definitions, meta-rules and vidhis. Such an interpreter has great value in analyzing the generative capability of Pāṇinian grammar, assessing its completeness or anomalies and the contributions of various commentaries to the original methodology. We avoid manually supplying any data derivable directly from Aṣṭād-
hyāyī. Unlike existing work that aimed at fast interpretation of rules, we focus initially on fidelity to Aṣṭādhyāyī.
We have started with a well-annotated online Aṣṭādhyāyī resource. We are able to automatically enumerate the character sequences denoted by saṃjñās defined in Aṣṭādhyāyī, and determine which paribhāṣā sūtras apply to which vidhi sūtras. We are in the process of developing a generic rūpa-siddhi engine starting from a prakṛti-pratyaya sequence. Our service named PAIAS1 provides programmatic access to Aṣṭādhyāyī, its data sets and their interpretation via open RESTful API for third-party tool development.
For more details, Read the full paper here.