Implement grapheme segmentation in Go

This commit is contained in:
Kovid Goyal
2025-03-23 19:24:12 +05:30
parent aa8c32006f
commit 16f7380cb0
4 changed files with 33630 additions and 33545 deletions

View File

@@ -702,7 +702,7 @@ width_shift = 4
class CharProps(NamedTuple):
width: int = 3
grapheme_break: str = '2'
grapheme_break: str = '4'
indic_conjunct_break: str = '2'
is_invalid: bool = True
is_extended_pictographic: bool = True