indic-transliteration / sanscript.js

Transliteration package for Indian scripts
MIT License
98 stars 39 forks source link

ऋकारमात्रा issues - iast/tam back to other schemes #28

Open vidyajay opened 3 years ago

vidyajay commented 3 years ago

namaskarah. Running into these issues consistently across various versions especially from Tamil superscript back to anything else.

1.Test case: नृपगृहम् / पिनाकधृ्ते dev-iast pairs

a. Convert from dev -> iast. pinākadhṛte b.iast back to dev पिनाकधृ्ते c.Similar issue with any other language pair from iast back to brahmic

2.Same as above. dev-tamil(superscript) pairs a.dev->tam பிநாகத்⁴ருʼதே b.tam->dev पिनाकत्⁴रुʼते नमः

vvasuki commented 3 years ago

1.Test case: नृपगृहम् / पिनाकधृ्ते dev-iast pairs

a. Convert from dev -> iast. pinākadhṛte b.iast back to dev पिनाकधृ्ते c.Similar issue with any other language pair from iast back to brahmic

पिनाकधृ्ते has an extra virAma. Otherwise, it works fine. See https://github.com/sanskrit/sanscript.js/commit/73dce27d6ad246d815bf7bcbdd33eb50f349fe6a

2.Same as above. dev-tamil(superscript) pairs a.dev->tam பிநாகத்⁴ருʼதே b.tam->dev पिनाकत्⁴रुʼते नमः

This is a bug in the software, it seems. Can you contribute a fix?