Talk:Z22097
Comments
Hi @GrounderUK:,
First, thanks a lot for starting this function.
I'm not sure how to deal with it exactly but to help.
Here is a list of all values of valid input :
- person
- d:Q21714344 first person
- d:Q51929049 second person
- d:Q51929074 third person
- d:Q88778575 zero person
- number (only for 1st, 2nd and 3person ; breton also has other numbers but they don't apply for verbs)
- mood
- d:Q179230 infinitive (no tense, not doable the suffix is irregular and unstable)
- d:Q12717679 past participle (no tense)
- d:Q682111 indicative
- d:Q625581 conditional
- d:Q22716 imperative
- tense
- d:Q192613 present (for indicative and conditional)
- d:Q1994301 past tense (for indicative and conditional)
- d:Q501405 future tense (for indicative)
- d:Q108524486 imperfect
- mutation (which an other can of worms, but for forms let's simplify it like that)
- d:Q101252532 no mutation
- d:Q56648699 soft mutation
- d:Q97130345 hard mutation
- d:Q56648701 spirant mutation
- gender don't apply to verb
Also, in breton, most verb are regular, there a few irregularities that can affect the stem (these verbs are sometimes called semi-regular, the sub-functions could probably deal with this) and 5 are fully irregular ("be", "have", "know", "do", "come/go" ; "be" even have two extra tenses: frequentative and locative).
For input, I'm wondering if we should be strict (only atomic values: Q21714344 first person and Q110786 singular, like on Lexmees) or if we could have some flexibility (Q51929218 first person singular, same for tense/mood: present indicative in one or two items).
Cheers, VIGNERON (talk) 22:05, 2 February 2025 (UTC)
- Thanks. We can just query in the item references now but it’s easier to use the references when you know them.
- We can certainly allow composite items if we’re not going to retrieve Wikidata items but I think it just multiplies up the conditions and it would be inconsistent with functions that do retrieve Wikidata items. I suggest this core function should use only atomic items but that list of items can be generated from a separate function. In that works, we can wrap them both together in a more usable interface function (which need not be limited to Breton).
- Now would also be a good time to decide whether this core function should output Monolingual text (Z11) objects rather than String (Z6). I would expect the interface function to output simple strings in any event. GrounderUK (talk) 22:30, 2 February 2025 (UTC)
- I’ve added derived features example (Z22111) to demonstrate grammatical features list from Wikidata items (Z22107), which currently expands only three of the composite items. GrounderUK (talk) 12:55, 3 February 2025 (UTC)
- …or four. I added support for present indicative (Q56682909) GrounderUK (talk) 13:49, 3 February 2025 (UTC)
- It now expands any or all of six composites for number and person all [person x number] (12 ↤ 6) (Z22228). I don’t plan to expand on the tense/mood combinations for the time being. I’m satisfied that performance will not be an issue for that function. GrounderUK (talk) 23:39, 5 February 2025 (UTC)