en Remove diacritics (Python) Z12392de Implementierung
Mdk86 (Diskussion | Beiträge) Implemented "remove diacritics" |
Converting reference to programming language to use an ID |
||
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt) | |||
Zeile 10: | Zeile 10: | ||
"Z14K3": { |
"Z14K3": { |
||
"Z1K1": "Z16", |
"Z1K1": "Z16", |
||
"Z16K1": |
"Z16K1": "Z610", |
||
⚫ | |||
⚫ | |||
⚫ | |||
"Z16K2": "from unicodedata import normalize, combining\n\ndef Z12391(Z12391K1):\n decomposed = normalize(\"NFD\", Z12391K1)\n return \"\".join(char for char in decomposed if not combining(char))\n" |
"Z16K2": "from unicodedata import normalize, combining\n\ndef Z12391(Z12391K1):\n decomposed = normalize(\"NFD\", Z12391K1)\n return \"\".join(char for char in decomposed if not combining(char))\n" |
||
} |
} |
||
Zeile 20: | Zeile 17: | ||
"Z1K1": "Z12", |
"Z1K1": "Z12", |
||
"Z12K1": [ |
"Z12K1": [ |
||
"Z11" |
"Z11", |
||
{ |
|||
⚫ | |||
⚫ | |||
"Z11K2": "Remove diacritics (Python)" |
|||
⚫ | |||
] |
] |
||
}, |
}, |
Aktuelle Version vom 22. Mai 2024, 16:15 Uhr
Diese Seite wird ohne JavaScript nur in eingeschränkter Weise angezeigt.