Vovototo siwo le numetoto "Z13091" me
GrounderUK (dzeɖoƒe | nuŋɔŋlɔ) Replace multiple conditional returns with a single final return |
GrounderUK (dzeɖoƒe | nuŋɔŋlɔ) cater for retaining e after two consonants (when not softening c or g) |
||
Fli 14: | Fli 14: | ||
"Z61K1": "python" |
"Z61K1": "python" |
||
}, |
}, |
||
"Z16K2": "def Z13087(Z13087K1):\n\timport re\n\tlemma = Z13087K1.lower()\n\tform = lemma + 'ing'\n\tif |
"Z16K2": "def Z13087(Z13087K1):\n\timport re\n\tlemma = Z13087K1.lower()\n\tform = lemma + 'ing'\n\tif re.search(r'[aeiou]c$', lemma):\n\t\tform = lemma + 'k' + 'ing'\n\telif re.search(r'[aeiou][bdfgkmnprstvz]$', lemma) \\\n\t\t\tand not re.search(r'[aeiou][aeiou][bdfgkmnprstvz]$', lemma):\n\t\tform = lemma + lemma[-1] + 'ing'\n\telif lemma.endswith('ie') :\n\t\tform = lemma[:-2] + 'ying' # Very few exceptions like \"boogieing\"\n\telif lemma.endswith('e') \\\n\t\t\tand not re.search(r'[éeioy]e$', lemma) \\\n\t\t\tand not re.search(r'[cg][cg]e$', lemma) \\\n\t\t\tand not re.search(r'[bcdfghjklmnpqrstvwxz][bdfjkmnpqrstvwxz]e$', lemma):\n\t\tform = lemma[:-1]+ 'ing'\n\treturn form" |
||
} |
} |
||
}, |
}, |
||
Fli 37: | Fli 37: | ||
"Z1K1": "Z12", |
"Z1K1": "Z12", |
||
"Z12K1": [ |
"Z12K1": [ |
||
"Z11" |
"Z11", |
||
{ |
|||
"Z1K1": "Z11", |
|||
"Z11K1": "Z1002", |
|||
"Z11K2": "Double some final consonants, drop final e (generally), mutate final ie to y, and add -ing" |
|||
} |
|||
] |
] |
||
} |
} |
Tataa le 23:20, 16 Dzodze 2024
This page displays in a limited way without JavaScript.