precomposed polytonic Greek characters with macrons and other diacritics
markus.icu at gmail.com
Mon Feb 8 13:10:20 CST 2016
On Mon, Feb 8, 2016 at 10:47 AM, James Tauber <jtauber at jtauber.com> wrote:
> Even with all this, though, my own work includes accentuation and
> syllabification algorithms, all of which are made more cumbersome by the
> lack of precomposed characters indicating vowel length. I'm currently
> leaning towards adding a layer of "character" processing on top of Python
> 3's otherwise decent support that effectively treats the relevant character
> sequences as single characters even if they aren't (and can't be
I suggest you normalize the text (NFC or NFD), and then look for "grapheme
In C++ and Java, you could use an ICU BreakIterator for the latter.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Unicode