6 ms·
I would highly recommend getting to know https://github.com/ovalhub/pyicu https://github.com/ovalhub/pyicu, which in addition to counting grapheme clusters with
by sciyoshi 7y ago
I would highly recommend getting to know https://github.com/ovalhub/pyicu https://github.com/ovalhub/pyicu, which in addition to counting grapheme clusters with BreakIterator can also do things like normalisation, transliteration, and anything else you might need to do relating to Unicode.