Module talk:accel/bg

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

@Benwing2 Hi. Why this module is no longer necessary (you have deleted it) but Module:accel/uk is required? We probably want Bulgarian inflected forms with pronunciations as well, although |endschwa requires more knowledge. --Anatoli T. (обсудить/вклад) 01:52, 29 June 2020 (UTC)Reply

@Atitarev The contents of the module when I deleted it only referred to creating noun forms, which are handled automatically by the general accelerator code. Adding the pronunciation isn't handled automatically, so if we want that we should add it back. My concern is that if we add the pronunciation automatically, people will create entries without properly fixing the endschwa param. Maybe we should create it with endschwa=FIXME or something (or even something that causes a module error) so that people will know they have to fix this manually? Benwing2 (talk) 01:55, 29 June 2020 (UTC)Reply
@Benwing2: This sounds good. For cases where endschwa can be suspected (if this is possible?), an endschwa=FIXME would be appropriate. I noticed a similar thing with Cantonese accelerated entries. --Anatoli T. (обсудить/вклад) 02:01, 29 June 2020 (UTC)Reply
@Atitarev This should be possible. For that matter, the module may be able to figure out whether endschwa is needed, as it has access to the inflections and the headword. I think the schwa sound occurs in the definite masculine singular of nouns and adjectives and the present tense (but not aorist) of verbs. Benwing2 (talk) 05:28, 29 June 2020 (UTC)Reply
@Benwing2: Sounds right, even if it may need tweaking over time. I also thinks that most ru, bg, uk, be single word entries should be given their default pronunciations. Some very small fixes (like uk monosyllabic and secondary be/uk stress) are required. --Anatoli T. (обсудить/вклад) 05:33, 29 June 2020 (UTC)Reply

Support for relational adjectives

[edit]

I promise this is my last ping for a while, @Benwing2 - I'm thinking of adding support for acceleration tags for relational adjectives of Bulgarian nouns. This will have two parts:

  • setting the relevant accel to {form = "relational adjective"} in Module:bg-headword, and
  • handling it here as a special case, by doing an if-check against params.form:
entry.etymology = "{{rfe|bg}}"
entry.head = "{{bg-adj|" .. params.target .. "}}"
entry.def = "# {{lb|bg|relational}} {{rfdef|bg}}"
entry.declension = "{{rfinfl|bg}}"

Thoughts?

Thanks,

Chernorizets (talk) 03:18, 23 October 2023 (UTC)Reply

@Chernorizets No problem at all with the pings. Yes, this is the correct way to do it. You can see a similar approach in Module:accel/ru. I chose to put FIXME text in the places that need fixing in the hope that the person creating the entry will be more motivated that way to fix the entry prior to saving; not sure if this actually works, though. Benwing2 (talk) 03:29, 23 October 2023 (UTC)Reply
@Benwing2 done. Used it to create зимен (zimen) from зима (zima, winter), and the stub entry looked as expected. I added a bunch of stuff to it, of course :) Chernorizets (talk) 04:30, 23 October 2023 (UTC)Reply
@Chernorizets Very cool! Benwing2 (talk) 04:44, 23 October 2023 (UTC)Reply