-
Notifications
You must be signed in to change notification settings - Fork 0
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
csl-inflect status #2 #3
Comments
All of the additional work was done with substantial guidance from the text A Sanskrit Primer by future tenseFuture tense conjugation tables are computed by joining a base for the 'sya' future to endings which The base for the 'sya' future is computed by the bases_test2.py program. This program uses a previous algorithm to get a future base and then adds the 'sya' suffix to this base, taking into account whether an 'i' needs to be inserted. The previous algorithm is part of the very complicated test2.py program, which is based on Kale (Kale's Higher Sanskrit Grammar). |
periphrastic future tenseFollowing Deshpande's suggestion (p. 296), a base for the periphrastic future is formed by
This computation is done by the bases_test2.py program. For example: python3 conjugate_one_v2.py _,a,pft kzip mdConjugation of _,a,pft kzip
|
conditional tenseFrom p.327 of Deshpande:
The The For example: python3 conjugate_one_v2.py _,a,con gam mdConjugation of _,a,con gam
|
benedictive tenseBenedictive conjugations are given only for those roots and voices given by Deshpande in Lesson 38. benedictive baseFor the benedictive bases, we begin with a digitization of the benedictive 3rd singular from Deshpande's table on pages 330-335; this digitization is in file benedictive_3s.txt.
benedictive endingsBenedictive endings active voice
Benedictive endings middle voice
combining benedictive base and endingsThe combination of benedictive base and endings involves no sandhi in the active voice, Conjugation of _,a,ben ad (base =
Conjugation of _,m,ben Ikz (base =
Conjugation of _,m,ben kzip (base = kzip, endings start with
|
Perfect tenseAlthough test2.py has logic for computing perfect tense conjugations, that logic is extremely perfect_3p.txtThe file perfect_3p.txt. This file is used to check the 3rd person values of our derived perfect tense conjugations, Strategy for derivationAccording to my reading of Kale, pages 306-7, a perfect conjugation table can be
|
perfect tense implementationinitialization of modelsWe start with the roots and voices from Deshpande's table on pages 305-310, initialization of basesThe perfect_bases_test2.py program is used once to initialize the 4-part base for the perfect tense endingsThese are take from Deshpande p. 303, or Kale p. 306-7.
perfect Middle terminations
|
Perfect tense combination of base and endingsAs with other parts of the derivation of perfect tense conjugations, the combination of base with
testing the conjugation tableAfter completing the conjugation table, conjugate_from_bases compares the 3rd person forms iterationA process of iteration was used to resolve discrepancies between the 3rd person forms and those |
Periphrastic perfect tenseAlthough it was not mentioned in the above discussion of the perfect tense, not all roots take the Currently, we restrict the periphrastic perfect to roots mentioned in Deshpande's perfect tense The bases are taken from the file bases/ppfactn.txt. This file was initialized programmatically:
ppfactn.txt was then modified slightly to be in accordance with Deshpande. Periphrastic perfect conjugation tables can be constructed for a given root and voice (active/middle) by prefixing the base to the reduplicative perfect conjugation table of the root For example, the base for the root
The resulting conjugation for
Note the final 'm' of the base It is also the case that the perfect conjugations of Currrently, we only use the perfect conjugations of |
aorist tenseThe previous coding of conjugation algorithms (pysanskritv1/test2.py) includes an attempt to These Deshpande aorist forms are in two files:
|
spcltense-b-amThese are the special tenses (pre, ipf, ipv, opt) in active and middle voices for roots in conjugational classes 2,3,5,7,8,9. The derivations of conjugations for these cases are more complex than the corresponding derivations for roots of classes 1,4,6 and 10. Deshpande (p. 203) summarises the differences:
The approach taken currently is similar for each of the 6 conjugation classes:
After working through the comparisons with Deshpande, I feel confidence in the derivations from |
This concludes my initial documentary comments on the extension to the verbal forms provided by csl-inflect repository. |
Detailed, as usual. Only now I manage to read some of the older documentation. Without that the code would be dead after a while. |
Some of the inflection coverage limitations mentioned in #1 have been reduced. These pertain to verb conjugations.
The file calc_distrib.txt has counts of number of inflected verb forms in various categories. From the 'aggregated models' section of the file, we can see how many additional forms have been added in this round of enhancements.
Counts of previous form
Previously, the verbal forms included:
Counts of additional forms
107465 Total of previous and additional conjugational forms.
The following comments summarize the methodology used for the additional forms.
The text was updated successfully, but these errors were encountered: