sanskrit-lexicon / csl-ldev

lnum wise entry for data in csl-devanagari for Devanagari correction submission.
1 stars 9 forks source link

svara/ accent rendering broken #6

Open vvasuki opened 2 years ago

vvasuki commented 2 years ago
<L>201273<pc>993,3<k1>विश्वरूप<k2>वि/श्व—रूप<e>3
<s>वि/श्व—रूप</s> ¦ <lex>n.</lex> <ab>sg.</ab> various forms, <ls>Mn.</ls>; <ls>Pañcar.</ls>; <ls>RāmatUp.</ls><info lex="n"/>
<LEND>

of https://github.com/sanskrit-lexicon/csl-ldev/blob/main/v02/mw/201273.txt which is rendered as

विश्व॑—रूप mf(आ or ई)n. many-coloured, variegated, RV.; AV. &c.
[Scan page : 993,3](gdlookup://localhost?word=vishvaruupa&group=4294967294&muted=ae6f89aac7151829681b85f035d54e48)
[Correction submission : viSvarUpa, 201274](https://github.com/sanskrit-lexicon/csl-ldev/blob/main/v02/mw/201274.txt)

would be better rendered as विश्व꣡—रूप। The ꣡ mark is widely used in sAmaveda to represent udAtta, whereas ॑ is usually taken to represent svarita.

drdhaval2785 commented 2 years ago

I dont know what you want to say. Devanagari rendering is based on indic transliteration package.

vvasuki commented 2 years ago

वि/श्व—रूप

https://github.com/indic-transliteration/common_maps/blob/daa0566e3a9d819fa948dc2a66cd91a91225019c/roman/slp1_accented.toml#L85 maps "꣡" = "/" . So, it should've been वि꣡श्व. Are you saying that indic transliteration later converted it to the conventional notation विश्व॑ ?

drdhaval2785 commented 2 years ago

I use 'slp' as transliteration system, and not 'slp_accented'. This may explain the difference.

vvasuki commented 2 years ago

https://github.com/indic-transliteration/common_maps/blob/daa0566e3a9d819fa948dc2a66cd91a91225019c/roman/slp1.toml does not have any accents at all. You must be using some obsolete code. Please update and correct.

drdhaval2785 commented 2 years ago

I was using version 2.3.13. Upgraded to 2.3.17.