-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paninian Generator #144
Comments
I think @drdhaval2785 has implemented similar generators. See https://github.com/drdhaval2785/SanskritVerb which I believe now has the older Subanta generation repo merged in. It includes a sandhi generator as well. Should we look at leveraging it before reimplementing? |
Would be happy to help. |
Sure, we should. |
This is purely in PHP. No python version available. I do not have the time for converting it to Python. I will go through your code and let you know what bottlenecks I went through, so that you can make your designing decisions better. I regretted about some of my choices, but it was too late. |
Thank you very much. It would be great if you could point to parts of your
php that you think are best to reuse (I'm sure there are a lot). We can
take up the conversion.
The architecture I've tried to pick is classic Paninian, rather than SK
based - so not a linear run of sutras.
…On Mon, Oct 5, 2020 at 6:01 PM Dr. Dhaval Patel ***@***.***> wrote:
This is purely in PHP. No python version available. I do not have the time
for converting it to Python. I will go through your code and let you know
what bottlenecks I went through, so that you can make your designing
decisions better. I regretted about some of my choices, but it was too late.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKEWNQZFCTBFDJLZ4PVQXDSJJT6XANCNFSM4SDFV4ZQ>
.
|
Current status
Eventually, this will allow us to replace the INRIA/Sanskrit_data databases with our own pada generator. Also, it will allow us to solve the overgeneration problem in the sandhi splitter by validating output splits with this generator. |
|
Could you provide a link to the repo? |
FYI - I have begun coding a Paninian generator. The goal is to implement the ashtadhyayi plus vartikas as needed.
As of now, a basic skeleton that handles some pada-sandhi rules has been committed. Over time, I hope to add more rules, and move the process backward, eventually going through the following steps.
Take a look at the
generator
branch - thesandhi.yaml
file encodes the sutras I have so far, andprocess_yaml.py
turns them into executable code.prakriya.py
is the skeleton execution engine.Run
cd sanskrit_parser/generator ; python test.py
to try it out.The text was updated successfully, but these errors were encountered: