Jump to content

Z12392: Difference between revisions

From Wikifunctions
Mdk86 (talk | contribs)
Implemented "remove diacritics"
 
Converting reference to programming language to use an ID
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
"Z14K3": {
"Z14K3": {
"Z1K1": "Z16",
"Z1K1": "Z16",
"Z16K1": {
"Z16K1": "Z610",
"Z1K1": "Z61",
"Z61K1": "python"
},
"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"
}
}
Line 20: Line 17:
"Z1K1": "Z12",
"Z1K1": "Z12",
"Z12K1": [
"Z12K1": [
"Z11"
"Z11",
{
"Z1K1": "Z11",
"Z11K1": "Z1002",
"Z11K2": "Remove diacritics (Python)"
}
]
]
},
},

Latest revision as of 16:15, 22 May 2024

This page displays in a limited way without JavaScript.