Text this: Modeling the Pāṇinian System of Sanskrit Grammar