en python French masculine adjective to feminine Z11591en Implementation
better dealing for adjective ending in -eur |
Translated content to igbo |
||
(не паказаныя 2 прамежныя вэрсіі аўтарства яшчэ аднаго ўдзельніка) | |||
Радок 11: | Радок 11: | ||
"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(' |
"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';" |
||
} |
} |
||
}, |
}, |
||
Радок 27: | Радок 27: | ||
"Z11K1": "Z1430", |
"Z11K1": "Z1430", |
||
"Z11K2": "französisches maskulines Adjektiv in feminines Adjektiv in Python" |
"Z11K2": "französisches maskulines Adjektiv in feminines Adjektiv in Python" |
||
}, |
|||
{ |
|||
"Z1K1": "Z11", |
|||
"Z11K1": "Z1014", |
|||
"Z11K2": "python French nwoke nkọwaaha na nke nwanyị" |
|||
} |
} |
||
] |
] |
Цяперашняя вэрсія на 15:50, 3 ліпеня 2024
This page displays in a limited way without JavaScript.