ambuda-org / vidyut

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

[prakriya] ढत्व in ध्वम् and षीध्वम् is not possible if the anga is not ending with इण् #45

Closed vipranarayan14 closed 1 year ago

vipranarayan14 commented 1 year ago

Due to the sutra विभाषेटः 8.3.79, the ध् in ध्वम् (लिट/लुङ्) and षीध्वम् (आशीर्लिङ्) is optionally replaced by ढ्, if the anga ends with इण् and is followed by इट् (aagama).

If the anga does not end with इण्, then the sutra cannot apply.

But I noticed that vidyut applies this sutra for many dhatus whose anga is not इण्-अन्त। Some of the examples are:

AFAIK this is not correct. Please correct me if I am wrong.

akprasad commented 1 year ago

Thank you very much for filing this issue. Yes, I think this is a mistake -- I had interpreted 8.3.79 as इण्-भूतात् इटः as opposed to इण्-पूर्वकात् इटः . The Kashika clarifies इणः इत्येव, आसिषीध्वम् . I'll prepare a fix.

akprasad commented 1 year ago

I have a fix ready in #47. Do you know what the correct behavior is for बभूविध्वे? That is, is बभूविढ्वे also permitted?

akprasad commented 1 year ago

Merged #47 with tests -- I think this is fixed, but please file another issue if you see problems. I'll re-deploy now.