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.[1]
SLP1 was formally introduced in the book Linguistic Issues in Encoding Sanskrit by Peter M. Scharf and Malcolm D. Hyman[2] as part of the Sanskrit Library project.
अ | आ | इ | ई | उ | ऊ | ए | ऐ | ओ | औ | |
a | A | i | I | u | U | e | E | o | O |
The numeral "3" is suffixed to denote a prolonged vowel (pluta svara). For example, ओ३म् = o3m
. Similarly, the numeral "1" is suffixed to denote a short "e" and "o", as in Dravidian: ऎ = e1
, ऒ = o1
. "1" and "3" are also used after a short and long agitated kampa respectively. Avagraha (ऽ) is represented by a single quote (').
ऋ | ॠ | ऌ | ॡ | |
f | F | x | X |
अं | अः | |
M | H |
Anunasika is represented by a tilde. For example, माँ = mA~
. Jihvamuliya and upadhmaniya are encoded as "Z" and "V" respectively.
क | ख | ग | घ | ङ | Velar |
k | K | g | G | N | |
च | छ | ज | झ | ञ | Palatal |
c | C | j | J | Y | |
ट | ठ | ड | ढ | ण | Retroflex |
w | W | q | Q | R | |
त | थ | द | ध | न | Dental |
t | T | d | D | n | |
प | फ | ब | भ | म | Labial |
p | P | b | B | m | |
य | र | ल | व | Semi-vowel | |
y | r | l | v | ||
श | ष | स | ह | ळ | Fricative |
S | z | s | h | L |
Udatta, anudatta and svarita are encoded as "/", "\" and "^" respectively.