跳至內容

en python French masculine adjective to feminine Z11591
zh-hant 實作

Ùi Wikifunctions
more exceptions
+ others "simple" cases
Tē 11 chōa: Tē 11 chōa:
"Z1K1": "Z16",
"Z1K1": "Z16",
"Z16K1": "Z610",
"Z16K1": "Z610",
"Z16K2": "def Z11590(Z11590K1):\n\tif(Z11590K1.endswith('f')):\n\t return Z11590K1[:-1] + 've';\n\tif(Z11590K1.endswith('teur')):\n\t\treturn Z11590K1[:-4] + 'trice';\n\tif(Z11590K1.endswith('er')):\n\t\treturn Z11590K1[:-2] + 'ère';\n\tif(Z11590K1.endswith('x')):\n\t\tif (Z11590K1.endswith( ('roux', 'faux'))):\n\t\t\treturn Z11590K1[:-1] + 'sse';\n\t\tif (Z11590K1.endswith( ('doux'))):\n\t\t\treturn Z11590K1[:-1] + 'ce';\n\t\tif (Z11590K1.endswith( ('vieux'))):\n\t\t\treturn Z11590K1[:-2] + 'ille';\n\t\telse:\n\t\t\treturn Z11590K1[:-1] + 'se';\n\tif(Z11590K1.endswith('eur')):\n\t\tif (Z11590K1.endswith( ('érieur', 'majeur', 'mineur', 'meilleur'))):\n\t\t\treturn Z11590K1 + 'e';\n\t\telse:\n\t\t\treturn Z11590K1[:-1] + 'se';\n\tif(Z11590K1.endswith('et')):\n\t\tif (Z11590K1.endswith( ('inquiet', 'complet', 'désuet', 'replet', 'cret'))):\n\t\t\treturn Z11590K1[:-2] + 'ète';\n\t\telse:\n\t\t\treturn Z11590K1 + 'te';\n\tif(Z11590K1.endswith('e')):\n\t\treturn Z11590K1;\n\tif(Z11590K1.endswith('gu')):\n\t\treturn Z11590K1 + 'ë';\n\tif(Z11590K1.endswith('el') or Z11590K1.endswith('en') or Z11590K1.endswith('on') or Z11590K1.endswith('eil') or Z11590K1.endswith('ul')):\n\t\treturn Z11590K1 + Z11590K1[-1] + 'e';\n\telse:\n\t return Z11590K1 + 'e';"
"Z16K2": "def Z11590(Z11590K1):\n\tif(Z11590K1.endswith('f')):\n\t return Z11590K1[:-1] + 've';\n\tif(Z11590K1.endswith('teur')):\n\t\treturn Z11590K1[:-4] + 'trice';\n\tif(Z11590K1.endswith('er')):\n\t\treturn Z11590K1[:-2] + 'ère';\n\tif(Z11590K1.endswith('x')):\n\t\tif (Z11590K1.endswith( ('roux', 'faux'))):\n\t\t\treturn Z11590K1[:-1] + 'sse';\n\t\tif (Z11590K1.endswith( ('doux'))):\n\t\t\treturn Z11590K1[:-1] + 'ce';\n\t\tif (Z11590K1.endswith( ('vieux'))):\n\t\t\treturn Z11590K1[:-2] + 'ille';\n\t\telse:\n\t\t\treturn Z11590K1[:-1] + 'se';\n\tif(Z11590K1.endswith('eur')):\n\t\tif (Z11590K1.endswith( ('érieur', 'majeur', 'mineur', 'meilleur'))):\n\t\t\treturn Z11590K1 + 'e';\n\t\telse:\n\t\t\treturn Z11590K1[:-1] + 'se';\n\tif(Z11590K1.endswith('et')):\n\t\tif (Z11590K1.endswith( ('inquiet', 'complet', 'désuet', 'replet', 'cret'))):\n\t\t\treturn Z11590K1[:-2] + 'ète';\n\t\telse:\n\t\t\treturn Z11590K1 + 'te';\n\tif(Z11590K1.endswith('gu')):\n\t\treturn Z11590K1 + 'ë';\n\tif(Z11590K1.endswith('el') or Z11590K1.endswith('en') or Z11590K1.endswith('on') or Z11590K1.endswith('eil') or Z11590K1.endswith('ul')):\n\t\treturn Z11590K1 + Z11590K1[-1] + 'e';\n\tif(Z11590K1.endswith('eau')):\n\t return Z11590K1[:-2] + 'lle';\n\tif(Z11590K1.endswith('anc')):\n\t return Z11590K1 + 'he';\n\tif(Z11590K1.endswith('e')):\n\t\treturn Z11590K1;\n\telse:\n\t return Z11590K1 + 'e';"
}
}
},
},

2024-nî 6-goe̍h 1-ji̍t (pài-la̍k) 14:49 ê siu-tēng-pún

此頁面以沒有JavaScript的方式顯示