import unicodedata def arama_anahtari(metin: str) -> str: metin = unicodedata.normalize("NFKD", metin.casefold()) return "".join( harf for harf in metin if not unicodedata.combining(harf) ).replace("ı", "i") print(arama_anahtari("AKILLI EV"))