Module talk:pi-conj/verb

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Thai Script Second Person Plural Middle without Implicit vowels[edit]

@Octahedron80: Could someone please check the second person plural middle. The forms corresponding to pacavhe and pacavho come out as ปะจะวเห and ปะจะวโห (or maybe they should be ปะจัวเห and ปะจัวโห) - neither set looks right to me. The conjugation table is set up in ปะจะติ (pacati). -- RichardW57 (talk) 23:55, 28 May 2019 (UTC)[reply]

I compare with pacati (ปจติ / ปะจะติ) and I have some comments:

  • pacāmhe = ปจามฺเห / ปะจามเห
  • pacavhe = ปจวฺเห / ปะจัวเห
  • apacavhaṃ or pacavhaṃ = อปจวฺหํ or ปจวฺหํ / อะปะจัวหัง or ปะจัวหัง (อ- must all become อะ- either.)
  • pacavho = ปจวฺโห / ปะจัวโห
  • paceyyavho = ปเจยฺยวฺโห / ปะเจยยัวโห

Other than these are incorrect. See if you can adjust these. However -ัว reads like เ-า in Thai but I never see เ-า in Pali text. Just leave it like that. --Octahedron80 (talk) 02:32, 29 May 2019 (UTC)[reply]

Thanks for the positive information, and thanks for catching the error with the alphabetic augment. I'll check ปจาเมฺห against a Thai CD of the Tipitaka; I expect to find both ปจาเมฺห and ปจามฺเห on it. We'll see how long a quotation from it lasts. For the alphabetic forms, I will assume that ปะจะเวฺห and similar do not exist This is easy to implement. -- RichardW57 (talk) 06:13, 29 May 2019 (UTC)[reply]
The changes for the spelling without implicit vowels have now been implemented. However, irregular optatives will not yet work with all vowels explicit. I first want to create a formal set of test cases to protect against regression errors. -- RichardW57m (talk) 11:51, 29 May 2019 (UTC)[reply]
You may want to see this: http://www.palidict.com/content/%E0%B8%AD%E0%B8%B2%E0%B8%82%E0%B8%A2%E0%B8%B2%E0%B8%95 --Octahedron80 (talk) 08:22, 29 May 2019 (UTC)[reply]
I don't think the alternations in the aorist are as free as the guide suggests. Different words use different endings. I suppose there may be an issue with poetic licence, in which case we (I?) may need to address adding footnotes for particular endings. I don't think we can do it as is done for Latin inflections. -- RichardW57m (talk) 11:51, 29 May 2019 (UTC)[reply]
@Octahedron80: Searching through the Tiptaka (CD received in 2006 - published 2003, vaguely identified as "ฉบับสยามรัฏฐ") is harder than I remembered it being. I have found my analysis from June 2011 (on my hard drive in ~/tpk_notes/ana). Anyway, what transliterates to 'vho' occurred 33 times. When it was at the end of a word (31 examples), it was written 'โวฺห' every time. The other two examples were in the middle of a word; one was written 'โวฺห' and the other was written 'วฺโห'. There were 4 examples for 'vhe'. All four were written เวฺห, but they are all in the middle of a word and so probably not useful for discussing the inflection.
There is a similar pattern for 'mhe'. At the end of a word (987 instances), it was written 'เมฺห' every time. In the middle of a word, it was written 'เมฺห' 257 times and มฺเห 16 times. It did not occur at the start of a word. -- RichardW57 (talk) 07:13, 30 May 2019 (UTC)[reply]

Other Tenses[edit]

I think you are developing on conjugation right? There are 8 types of conjugations but I only see 4 here. --Octahedron80 (talk) 03:05, 29 May 2019 (UTC)[reply]

@Octahedron80: Correct - only four tenses are covered. I've only coded up the present tense system, i.e. those formed on what is called the 'special' base - the present, the imperfect, the imperative and the optative, which is why the template is called {{pi-conj-special}}. The future and conditional will together have their own template, probably {{pi-conj-future}}. The perfect will also have its own template.
The aorist is a problem, as we should not record forms that do not exist. There are aorists in -i that are formed on the special base; perhaps I will extend {{pi-conj-special}} to include them. I fear I will need several templates to cover the aorist. Perhaps one form will just be a catalogue of what forms actually exist - I have been using {{pi-conj-pres}} for aorists, but that only covers active forms. The aorists in -esi are also regular enough to be covered by a conjugation template that will by default give forms for all 6 combinations. -- RichardW57 (talk) 06:13, 29 May 2019 (UTC)[reply]
{{pi-conj-future}} is now just about usable, though I've only tested it for the Latin script. Other scripts should 'just work', but that is to be checked. For progress, see the template. The best sign of suitability for use will be the appearance of the documentation page. --RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

Issues with Control of the Imperfect[edit]

Some obscure combinations are not working well. I need to review the documentation, fix bugs and deal with booby traps in the combinations of parameter values. --RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

The concepts behind the design is that a verb may have different active and middle stems, and possibly no active stems at all. (I've a feeling this is not the case, though there are works around that wrongly claim that passive verbs have no active stems.) An important modification to this idea is that the middle of the optative is formed from the active stem when active and middle differ. The verb receives an extra element of complication because adding the augment is not mechanically simple - it occurs between a prefix and the rest of the vowel, and may restore the initial letter to being a geminate when it is the reduction of an earlier cluster, as with the verb kamati. --RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

Case 1[edit]

{{pi-conj-special|kamati|augment=both_given|impf=akkama|impf_voice=both|impr_voice=none|opta_voice=none|part_voice=none}} shows the usual case for handling a slightly 'irregular' augmented imperfect. It works as wanted and as documented.

--RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

Case 2[edit]

{{pi-conj-special|kamati|augment=both_given|impf_midl=apacattha|impf_voice=both|impr_voice=none|opta_voice=none|part_voice=none}} does not include apacattha in the table. This is in accordance with the documentation, but may be regarded as a 'gotcha'. Lua error in Module:pi-conj/verb at line 719: Argument impf_midl may only be used if argument midl is. --RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

I've now made the use of impf_midl without midl generate an error message. --RichardW57 (talk) 17:20, 29 May 2020 (UTC)[reply]

Case 3[edit]

{{pi-conj-special|kamate|augment=both_given|impf_midl=akkamattha|impf_voice=both|impr_voice=none|opta_voice=none|part_voice=none}} includes apacattha despite the documentation. It might be better to declare this to be as it should be. Lua error in Module:pi-conj/verb at line 719: Argument impf_midl may only be used if argument midl is. --RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

I've now made the use of impf_midl without midl generate an error message. --RichardW57 (talk) 17:20, 29 May 2020 (UTC)[reply]

Case 4[edit]

{{pi-conj-special|kamate|augment=both_given|impf=akkamattha|impf_voice=both|impr_voice=none|opta_voice=none|part_voice=none}} does not record akkamattha, though the documentation says it will.

--RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

Case 5[edit]

{{pi-conj-special|kamati|augment=both_given|impf=akkama|impf_midl=apacattha|impf_voice=both|impr_voice=none|opta_voice=none|part_voice=none}} includes the augmented form akkama in both voices, but not the explicit middle form. This is as documented, but may be a surprise. Lua error in Module:pi-conj/verb at line 719: Argument impf_midl may only be used if argument midl is. --RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

I've now made the use of impf_midl without midl generate an error message. --RichardW57 (talk) 17:20, 29 May 2020 (UTC)[reply]

Case 6[edit]

{{pi-conj-special|kamati|augment=both_given|impf=akkama|impf_midl=apacattha|impf_voice=both|impr_voice=none|midl=desete|opta_voice=none|part_voice=none}} takes separate inputs for the input of active and middle imperfect forms with augments, as documented. The warning that the author of the template does not know the middle imperfect of deseti is reasonable, though a bit of an irritant.

--RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

The warning about deseti not have a clear imperfect middle has now been removed. --RichardW57 (talk) 17:20, 29 May 2020 (UTC)[reply]

Case 7[edit]

{{pi-conj-special|kamati|augment=both_given|impf=akkama|impf_midl=apacattha|impf_voice=both|impr_voice=none|midl=passate|opta_voice=none|part_voice=none}} shows a nice clean separation of augmented imperfect forms by voice.

--RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

Case 8[edit]

{{pi-conj-special|kamati|augment=both_given|impf=akkamā|impf_voice=both|impr_voice=none|opta_voice=none|part_voice=none}} shows a minor issue. Because the 3s active imperfect form is the one ending in a long vowel, the logic for verbs in -āti is invoked, and I don't know their imperfect middle, no augmented imperfect middle is provided. This is an undocumented feature, and arguably a bug.

--RichardW57 (talk) 16:43, 26 May 2020 (UTC)[reply]

|impf=akkamā now has the same meaning as |impf=akkama. --RichardW57 (talk) 17:20, 29 May 2020 (UTC)[reply]

Chakma Future System Conjugation[edit]

When User:Theknightwho added Chakma to the list of scripts, I had to add the data for ending detection for the Chakma scripts. Unfortunately:

  1. I overlooked future_endings. I need to move it up to next to the other endings so it doesn't get forgotten next time, and populate it for the Cakma script.  Done
  2. The module's test cases don't include the future system. Its testing needs to be added.  Done
  3. It would be good to document what needs to be done to properly add a simple new script with one writing system just in case we need to add more scripts.

In the meantime, a quick but limited test for the Chakma script future system is: {{pi-conj-special|𑄛𑄌𑄖𑄨|cond=𑄃𑄛𑄌𑄨𑄥𑄴𑄥𑄖𑄨|futu=𑄛𑄌𑄨𑄥𑄴𑄥𑄖𑄨|sc=Cakm}}:

--RichardW57m (talk) 12:48, 6 March 2023 (UTC)[reply]

As the above now shows, the input of a future in -ati works - in fact futures in -ati and -ate now confirmed to work and populate the future and conditional, the aorist is confirmed to work, and the tenses etc. formed on the special base are now confirmed by testing to work. I am, however, having trouble getting the system to accept the input of conditionals. However, the following two commands demonstrate the conditional input being accepted:
  • {{pi-conj-special|gacchate|cond=agamissatha|cond_augment=with_given|futu=pacissate}}
  • {{pi-conj-special|gacchati|cond=agamissa|cond_augment=with_given|futu=pacissati}}

--RichardW57 (talk) 22:42, 6 March 2023 (UTC)[reply]

| I clearly hadn't tested inflection from conditional tense stems for non-Roman scripts. That is now implemented and the tests have been passed, with the 4 errors for -ute middles in the writing systems that distinguish /a/ in open and closed syllables. Such stem modification is an aberration in the context of Pali. --RichardW57m (talk) 11:52, 7 March 2023 (UTC)[reply]