SLP1

The Sanskrit Library Phonetic basic encoding scheme (SLP1) is an ASCII transliteration scheme for the Sanskrit language from and to the Devanagari script.

Differently from other transliteration schemes for Sanskrit, it can represent not only the basic Devanagari letters, but also phonetic segments, phonetic features and punctuation. SLP1 also describes how to encode classical and Vedic Sanskrit.

One of the main advantages of SLP1 is that each Devanagari letter used in Sanskrit maps to exactly one ASCII character, making it possible to create simple conversions between ASCII and Sanskrit. For example, the Harvard-Kyoto transliteration uses the single character "D" to represent "ड" and the combination "Dh" to represent "ढ". SLP1, in contrast, always uses a single character: "q" for "ड" and "Q" for "ढ". Such intermediate mappings, while convenient for the design of transliteration conversion functions, tend to hinder readability until they are re-converted to either Devanagari or the widely used IAST romanization scheme.

The tables in the following sections are taken from Peter Scharf's May 2008 talk.

History
SLP1 was formally introduced in the book Linguistic Issues in Encoding Sanskrit by Peter M. Scharf and Malcolm D. Hyman as part of the Sanskrit Library project.

Vowels
The numeral "3" is suffixed to denote a prolonged vowel (pluta svara). For example,. Similarly, the numeral "1" is suffixed to denote a short "e" and "o", as in Dravidian:,. "1" and "3" are also used after a short and long agitated kampa respectively. Avagraha (ऽ) is represented by a single quote (').

Anusvāra/Visarga
Anunasika is represented by a tilde. For example,. Jihvamuliya and upadhmaniya are encoded as "Z" and "V" respectively.

Vedic accents
Udatta, anudatta and svarita are encoded as "/", "\" and "^" respectively.