This is an old revision of the document!
The apparatus generator has a number of options for filtering out insignificant variants, by ignoring punctuation marks as well as commonplace differences in orthography. All filters are turned on by default.
The punctuation filters are relatively straightforward; when, for example, the daṇḍa filter is turned on, all daṇḍas will be ignored during the comparison of the texts.
In order to filter out orthographic variants, regular expressions are used to normalize the text. Some of these filters may overlap; if a portion of text matches more than one filter, only one filter is applied. Filters are applied in the order that they appear.
Some regular expressions may coincide with sandhi rules described in the Aṣṭādhyāyī, although, in practice, they may not reproduce the sandhi rules exactly.
Examples are given to show how the text is normalized; counterexamples are exceptions which are not normalized.
Normalized spellings may not represent what is generally considered to be “correct” Sanskrit; however, they do reflect orthographic practices as attested in manuscripts.
/(?<=[rṛṙi]|pa)tt|tt(?=[rvy]\S)/t/
/(?<=[rṛṙ]|[rṛ]\s)(]kgcjṭḍṇdnpbmyvl)\1/\1/
/([jtṭd])\1(?=h)/\1/
/(?:ṃ[lśs]|nn)(?!\S)/n/
/[mnñṇṅ](?=[pbmdtnṭḍcjkg])/ṃ/