drdhaval2785 / SanskritSorting

Codes written by Dr. Dhaval Patel for Sanskrit Natural Language Programming
2 stars 1 forks source link

SLP2 for Proper Names #27

Closed gasyoun closed 9 years ago

gasyoun commented 9 years ago

@funderburkjim SLP1 has no coding for proper names. @drdhaval2785 How to store it, what character to use !, to have capital letters in IAST in the output at the end of the day. Some dictionaries like SCH have that data, but are pre-SLP1.

Anglicized Sanskrit from SCH:

parama1rta
Parama1rTasam2vr2tisatyanirdes4a
parama1rTasant
parama1rya
Parama1rhata
parama1s4va
drdhaval2785 commented 9 years ago

Not clear

gasyoun commented 9 years ago

If I want (and I want) to note, that Dhaval is a name of an epic hero, and not dhaval, how would you do it in SLP1?

drdhaval2785 commented 9 years ago

There are no capitals in Sanskrit for sure

gasyoun commented 9 years ago

In Devanagari - no. In IAST - yes. Or otherwise from now on your name is dhaval, even when you will sign some papers, always with small letters.

drdhaval2785 commented 9 years ago

So you need this data for conversion to IAST, right ?

gasyoun commented 9 years ago

The dictionary is in IAST, so sure.

drdhaval2785 commented 9 years ago

Then let @funderburkjim take a call on how he proposes to do so

funderburkjim commented 9 years ago

The only small point I can add to this question is that I think Peter uses the convention of curly braces around the initial letter in slp1 to indicate that, when converting to IAST, the letter is to be capitalized. So, for instance {r}Ama means: In conversion to IAST represent as R, otherwise (as in Devanagari) ignore {,} (i.e., convert to empty strings.)

It would be possible to adapt transcoder files to do this task,

gasyoun commented 9 years ago

That sounds reasonable and (?) undocumented. I would go for that, @funderburkjim

drdhaval2785 commented 9 years ago

Great. So sorting issue stops here. Closing the issue