You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Umbrella: one table of which scripts have case and which write initials (ကြည် ကြည် ဌေး gave initials()က. က. ဌ.) #1256
case-repaircapitalized() case repair (rules/R)designChanges what the model can express (a shape decision)initialsReading initials and the initials() view (rules/T)non-latin-scriptNames written in a script other than Latin (rules/W)
Several readings branch on "this script has case" (S6, the case signal at the suffix slot; R4, case repair reads the unjoined mark) or on "this script writes initials" (R7, _policy._NO_INITIALS). Each script's answer is set wherever the code needed it, and some are wrong:
Input
today
why
ჯეკ MA
suffix MA, family ''
Python counts Mkhedruli letters as lowercase, so Georgian looks cased
ᲜᲘᲜᲝ ᲑᲣᲠᲯᲐᲜᲐᲫᲔ
capitalized() gives Ნინო
Mtavruli has no title case
ကြည် ကြည် ဌေး
initials() gives က. က. ဌ.
Burmese writes no initials
एम. एस. वर्मा
title एम. एस.
Devanagari does write initials
The shape question: should these be one table of script properties (has case; writes initials; joins with vowel signs), with a reason and a source for each row, read by every rule that asks? A table would make adding a script a single row, and a misjudged row would show up in one place.
Decided 2026-11-12: one private table of script properties.
One table, one row per script, read by every rule that asks: whether the script has case, whether it writes initials, whether it joins with vowel signs. Each row carries its reason and its source.
The table is private and is not keyed on the public Script enum. That enum holds what a caller can key a setting on, and membership there settles nothing about case or initials.
Amended 2026-11-12, after measurement: Burmese rests on the convention, not on CLDR; Thai on the CLDR count; and "writes initials" and "writes period abbreviations" are two columns.
Burmese writes no initials (Should initials() skip Burmese script, as it skips Han and Hangul? (ကြည် ကြည် ဌေး gives 'က. က. ဌ.') #1234), decided from the writing convention. The decision above said it would be decided, like Thai, by counting CLDR's locale-authored name patterns that produce an initial. That count does not answer for Burmese: CLDR's my personNames block is English's (cldr main c0b65ae3: every one of its 42 patterns equals en's once spaces and commas are removed, and it carries {surname-prefix} though Burmese has no surname), so its 8 of 42 patterns with an initial are English's. The row's source is this decision.
Thai writes no initials, by the count: 0 of 20 locale-authored patterns produce one. Known cost: a pen name written with a letter and a period reads that letter as a name word, and initials() gives nothing for a Thai name.
Thai still writes period abbreviations (ดร., ร.ต.อ.), so the table answers "writes initials" and "writes period abbreviations" separately.
Consequences accepted with both rows: initials() returns an empty string for a name in either script; under initials_as_family and under a two-family-names pack a letter with a period in either script is no longer read as an initial; the name match reads a single letter of either script as a whole word.
changed the title [-]Which scripts have case, and which write initials? (`ჯეკ MA`, `ကြည် ကြည် ဌေး`, `एम. एस. वर्मा`)[/-][+]Umbrella: one table of which scripts have case and which write initials (`ကြည် ကြည် ဌေး` gave `initials()` `က. က. ဌ.`)[/+]on Nov 21, 2026
Closing as completed: the table decided above is built (_policy._SCRIPT_PROPERTIES, with decisions/script-properties holding each row's reason and source), every rule that asks reads it, and all six bug sub-issues are closed. It has grown since: Lao joined it on 2026-11-20 (#1507).
The leaves still open each have their own issue: #1242 (the Dutch IJ in case repair, a language question the table leaves out), #1273 (what an initial looks like in Devanagari and Bengali), #1274 (the letter after an apostrophe in case repair) and #1380 (Khmer and Tibetan initials).
case-repaircapitalized() case repair (rules/R)designChanges what the model can express (a shape decision)initialsReading initials and the initials() view (rules/T)non-latin-scriptNames written in a script other than Latin (rules/W)
Activity
ჯეკ MAgives family '' and suffix 'MA', whereمحمد MAgives family 'MA') #1222initials()skip Burmese script, as it skips Han and Hangul? (ကြည် ကြည် ဌေးgives 'က. က. ဌ.') #1234एम.read as an initial, not a title? (एम. एस. वर्माgives titleएम. एस.) #1191capitalized()on all-Mtavruli Georgian writes a capital first letter:ᲜᲘᲜᲝ ᲑᲣᲠᲯᲐᲜᲐᲫᲔgivesᲜინო Ბურჯანაძე#1223МАР'ЯНА→Мар'Яна) #1214capitalized()lowercases ArmenianTer-andDersurnames as particles:LEVON TER-PETROSYANgivesLevon ter-Petrosyan#1224IJdigraph when repairing case under a Dutch choice (PIETER IJZERMANgivesPieter Ijzerman) #1242एम. एस. वर्माgivesinitials()'ए. ए. व.') #1273SA'DULLAYEV ALISHERgivesSa'Dullayev; Uzbek, Kikuyu, Hawaiian) #1274derek73 commentedon Nov 13, 2026
Decided 2026-11-12: one private table of script properties.
Scriptenum. That enum holds what a caller can key a setting on, and membership there settles nothing about case or initials.एम.read as an initial, not a title? (एम. एस. वर्माgives titleएम. एस.) #1191, Case repair capitalizes the letter after an apostrophe inside a Ukrainian or Belarusian name (МАР'ЯНА→Мар'Яна) #1214,capitalized()on all-Mtavruli Georgian writes a capital first letter:ᲜᲘᲜᲝ ᲑᲣᲠᲯᲐᲜᲐᲫᲔgivesᲜინო Ბურჯანაძე#1223 andcapitalized()lowercases ArmenianTer-andDersurnames as particles:LEVON TER-PETROSYANgivesLevon ter-Petrosyan#1224 gave are recorded as rows, not reopened.ჯეკ MAgives family '' and suffix 'MA', whereمحمد MAgives family 'MA') #1222,ჯეკ MA); Burmese writes no initials (Shouldinitials()skip Burmese script, as it skips Han and Hangul? (ကြည် ကြည် ဌေးgives 'က. က. ဌ.') #1234), decided, like Thai, by counting CLDR's locale-authored name patterns that produce an initial rather than by the script's typology.IJ(Write the DutchIJdigraph when repairing case under a Dutch choice (PIETER IJZERMANgivesPieter Ijzerman) #1242) stays out of the table: it is a language question, for case repair under a Dutch choice.Cover the script table's empty-span refusal (#1256)
derek73 commentedon Nov 13, 2026
Amended 2026-11-12, after measurement: Burmese rests on the convention, not on CLDR; Thai on the CLDR count; and "writes initials" and "writes period abbreviations" are two columns.
initials()skip Burmese script, as it skips Han and Hangul? (ကြည် ကြည် ဌေးgives 'က. က. ဌ.') #1234), decided from the writing convention. The decision above said it would be decided, like Thai, by counting CLDR's locale-authored name patterns that produce an initial. That count does not answer for Burmese: CLDR'smypersonNames block is English's (cldr main c0b65ae3: every one of its 42 patterns equalsen's once spaces and commas are removed, and it carries{surname-prefix}though Burmese has no surname), so its 8 of 42 patterns with an initial are English's. The row's source is this decision.initials()gives nothing for a Thai name.ดร.,ร.ต.อ.), so the table answers "writes initials" and "writes period abbreviations" separately.initials()returns an empty string for a name in either script; underinitials_as_familyand under a two-family-names pack a letter with a period in either script is no longer read as an initial; the name match reads a single letter of either script as a whole word.IJdigraph when repairing case under a Dutch choice (PIETER IJZERMANgivesPieter Ijzerman) #1242 (DutchIJ), What does an initial look like in Devanagari, Bengali and the scripts like them? (एम. एस. वर्माgivesinitials()'ए. ए. व.') #1273 (what an initial looks like in the Brahmic scripts) and Keep the letter after an apostrophe lower case when repairing case (SA'DULLAYEV ALISHERgivesSa'Dullayev; Uzbek, Kikuyu, Hawaiian) #1274 (the Uzbek apostrophe in case repair).Answer the docs review: Georgian dotted runs stay initials, the recor…
Answer the code review: packs and suggester recorded, table frozen, r…
Record the review's two Accepted shapes and pin the last test gaps (#…
Read script properties from one private table: Georgian has no case, …
ស៊ុន សុខាgives initialsស. ស.) #1380[-]Which scripts have case, and which write initials? (`ჯეკ MA`, `ကြည် ကြည် ဌေး`, `एम. एस. वर्मा`)[/-][+]Umbrella: one table of which scripts have case and which write initials (`ကြည် ကြည် ဌေး` gave `initials()` `က. က. ဌ.`)[/+]derek73 commentedon Nov 21, 2026
Closing as completed: the table decided above is built (
_policy._SCRIPT_PROPERTIES, with decisions/script-properties holding each row's reason and source), every rule that asks reads it, and all six bug sub-issues are closed. It has grown since: Lao joined it on 2026-11-20 (#1507).The leaves still open each have their own issue: #1242 (the Dutch
IJin case repair, a language question the table leaves out), #1273 (what an initial looks like in Devanagari and Bengali), #1274 (the letter after an apostrophe in case repair) and #1380 (Khmer and Tibetan initials).🤖 Generated with Claude Code