Jump to content

Talk:Z22097

From Wikifunctions
Latest comment: 8 days ago by GrounderUK in topic Comments

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 :

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)Reply

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)Reply
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)Reply
…or four. I added support for present indicative (Q56682909) GrounderUK (talk) 13:49, 3 February 2025 (UTC)Reply
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)Reply