-
Notifications
You must be signed in to change notification settings - Fork 4
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
lakaara-output suggestion #17
Comments
'dhaatu' इत्यस्य स्थाने 'sankhyaa' इत्यपि भवितुम् अर्हति । यतो हि प्रक्रियायां तथैव दर्श्यते । |
युक्तं तत्। इतोऽपि परिष्कृत्य (ruupaaNi -> law) -
इति रोचते। |
Seems good idea. |
How about the following?
|
@avinashvarna and @vvasuki Rather than iterating each list item to see whether this is the required verb number, it would be good to keep it as the key of dict. |
UPDATE:
|
Good ideas here - although I still think that we should have a list at the top level as suggested in #17 (comment) . That way consumers can define a uniform JSON schema and use common libraries to parse this into a list of objects without needing to add custom parsing code. A couple of other quibbles:
|
Another general suggestion is to include fields which identify the class of data being presented - such as |
True. Good point. |
Didnt understand anything of what you said. Can you elaborate on what you have in mind. My exposure to other languages is quite primitive. |
There were two parts to what I said in that paragraph:
The "what" part is clear I guess - but just in case, I elaborate with an example: https://api.vedavaapi.org/scala/grammar/v1/analyser/hareH yields a list of stuff like:
Observe the jsonClass fields above. I am suggesting that you include such a field wherever you see {} in your output. Now the 'why' part: I can use it with standard json parsers (eg. a customized version of jsonpickle in python, or json4s in scala) to read this string into a native object. In python, I can then do: |
https://pypi.org/project/python-box/ easier way to do than adding a lot of jsonClass in the data ifself? @vvasuki? |
True in a constrained sense. It won't help for the following cases:
It costs next to nothing to add the jsonClass here and throw it away if one doesn't need it downstream. |
drdhaval2785/prakriya#37 (comment) इति धवलाविनाशाभ्यां चर्च्यमाने -
(+ @avinashvarna)
द्वे परिवर्तनय् औचित्यं भजेते -
एवं उत्तमस्तरे "श्रेणी"-प्रयोगः ({…} इत्यस्य स्थाने […]), अर्थस्यान्तर्भावश्च।
तदितोऽपि सौकर्याय भवति।
The text was updated successfully, but these errors were encountered: