Module talk:affixusex/templates

From Wiktionary, the free dictionary
Latest comment: 10 months ago by Benwing2 in topic Improvement
Jump to navigation Jump to search

Circumfix

[edit]

@Benwing2: Shouldn't this support circumfixes as well ala {{affix}}? კვარია (talk) 06:04, 9 August 2022 (UTC)Reply

@კვარია Can you specify the desired syntax? (BTW I don't think {{affix}} supports circumfixes, although it does support interfixes.) Benwing2 (talk) 02:46, 10 August 2022 (UTC)Reply
@Benwing2: {{affix}} supports circumfixes, this is possible: საქათმე, which imho looks perfect for this module/template. Also support for interfixes would be useful here too in order to avoid manual writing for cases like -და-. კვარია (talk) 02:50, 10 August 2022 (UTC)Reply

Improvement

[edit]

@Benwing2 It would be nice if this module used the data from Module:affix/lang-data/LANG. — Fenakhay (حيطي · مساهماتي) 01:08, 31 July 2023 (UTC)Reply

@Fenakhay How should it use the data? Benwing2 (talk) 01:17, 31 July 2023 (UTC)Reply
@Benwing2: For example in -lik, it should display ‎dost (friend) + ‎-luq → ‎dostluq (friendship) instead of ‎dost (friend) + ‎-lik → ‎dostluq (friendship) without using |altaff=. — Fenakhay (حيطي · مساهماتي) 01:22, 31 July 2023 (UTC)Reply
@Fenakhay: How does it know which form of the affix to display? By looking at the word on the right and by subtracting the word on the left (or maybe just by iterating through the possible affix forms and seeing which one occurs in the word on the right)? Benwing2 (talk) 01:33, 31 July 2023 (UTC)Reply