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])/ṃ/
Some normalization filters require a tag in your TEI header, because they only apply to certain scripts or specific scribal practices. When these filters are activated, they will only apply to those transcriptions which have the corresponding tag.
/ê/e/ /î/i/ /ô/o/ /û/u/
In transcriptions of Devanāgarī sources, pṛṣṭhamātrā vowels are transcribed as ê, aî, ô, and aû (see Transcription conventions).
@mainLang=“sa-Deva”
in the <textLang>
tag./ṙ/r/
In transcriptions of Telugu sources, the valapalagilaka reph is transcribed as ṙ (see Transcription conventions).
@mainLang=“sa-Telu”
in the <textLang>
tag./ṭh/ṭ/
In some Devanāgarī manuscripts, it is common for ṭh to be written as ṭ.
<scriptNote>
tag with the @xml:id=“script-ṭha-ṭa”
./b(?!h)/v/
In some scripts, b is not distinguished from v.
<scriptNote>
tag with the @xml:id=“script-ba-va”
./bh(\s?)d(?!h)/d\1bh/
In some Devanāgarī manuscripts, the conjunct dbh is written as bhd.
<scriptNote>
tag with the @xml:id=“script-dbha-bhda”
.