from transliterate import translit
cy = '\u041c\u0410\u041c\u0410'
en = 'MAMA'
cy == en
cy_converted = translit(cy, 'ru', reversed=True)
cy_converted == en
cy_converted
Detect same words using different alphabets?