ambuda-org / vidyut

Infrastructure for Sanskrit software. For Python bindings, see `vidyut-py`.
49 stars 21 forks source link

Baraha (Southern) --> Telugu #89

Closed skmnktl closed 9 months ago

skmnktl commented 9 months ago

ఇqషే త్వోq,-ర్జే త్వా#, వాqయవ#ః స్థోపాqయవ#ః స్థ, దేqవో వ#ః సవిqతా ప్రార్ప#యతుq శ్రేష్ఠ#తమాయq కర్మ#ణq, ఆ ప్యా#యద్ధ్వమఘ్నియా దేవభాqగ-మూర్జ#స్వతీqః పయ#స్వతీః ప్రqజావ#తీ-రనమీqవా అ#యqక్ష్మా మా వ#ః స్తేqన ఈ#శతq మాఽఘశ(గ్మ్)#సో, రుqద్రస్య# హేqతిః పరి# వో వృణక్తు, ధ్రుqవా అqస్మిన్ గోప#తౌ స్యాత బqహ్వీర్, యజ#మానస్య పqశూన్ పా#హి ॥ ౧ (ఇqషే - త్రిచ#త్వారి(గ్మ్)శత్ )

The q and # should be anudaata and svarita respectively

For those, it's usually best to default to devanagari characters rather than the input character. The other fonts have less vedic support, but the mark itself is the same. I suspect the code just uses the origin script's character when it can't find an alternative.

My suggestion is that for brahmic outputs, we default to the devanagari character, and if the output is roman, we choose a roman default rather than using the input source itself.

akprasad commented 9 months ago

Thanks!

I suspect the code just uses the origin script's character when it can't find an alternative.

That's indeed the case. I have a local fix but am ensuring a few other schemes work as well.

I assume this also applies to double svarita and other accents?

akprasad commented 9 months ago

Fixed and pushed. I'm updating the demo now. Please reopen this issue if the error persists.