Jump to content

Module talk:sw-utilities

Page contents not supported in other languages.
Add topic
From Wiktionary, the free dictionary
Latest comment: 1 month ago by MuDavid in topic Nouns

Nouns

[edit]

To translate {{sw-noun}} to Lua, let me first make a translation to pseudo-code.

The output is

{{head|sw|noun|head=head}} (
if no class givenneeds class
plural is
  • -, plural''[[Appendix:Swahili noun classes#class class|class class]]''[[Category:Swahili class class nouns]]and Category:sw-noun needing attention if this fails
  • otherwise[[Category:Swahili class class nouns]]and Category:sw-noun needing attention if this fails
    • depending on class''[[Appendix:Swahili noun classes#class class|class class]]''
      if no plural manually given, plural <b>{{l-self|sw|accel-form=p|}}
      • depending on first two letters, guess plural using sw-utilities.plural</b>
      [[Category:Swahili class class nouns]]
plural is
  • pluralplural only[[Category:Swahili pluralia tantum]]
  • -no plural[[Category:Swahili uncountable nouns]]
  • otherwise but given, plural <b>{{l-self|sw|accel-form=p|{{{2}}}}}</b>
)

MuDavid 栘𩿠 (talk) 02:44, 28 November 2024 (UTC)Reply

The current class codes are:
vi, vy, ch-vy, ki, ki-viki-vi class(VII/VIII)
mi, mu-mi, mw-mi, m-mim-mi class(III/IV)
wa, mw-wa, m-wam-wa class(I/II)
nn class(IX/X)
ji-ma, ja-ma, j-m, ji-me, maji-ma class(V/VI)
u-n, u-ma, w, w-ny, u-m, ul-nd, ur-nd, uw-mb, uu class(XI) and whatever be its plural
papa class(XVI)
MuDavid 栘𩿠 (talk) 03:14, 28 November 2024 (UTC)Reply

Should we move to the following format?
rafiki class IXa (plural rafiki class Xa, collective marafiki class VIa)
rafiki class N (plural rafiki class N, collective marafiki class Ma)
MuDavid 栘𩿠 (talk) 03:08, 28 November 2024 (UTC)Reply