Repository navigation
Description
Burmese names have no family name and are often written wholly in capitals. Several Burmese name syllables are also credentials in en.toml, so a name in capitals that ends with one loses the syllable to the suffix. This happens by default and under locales.MY (#1231, PR #1480) alike, since the pack leaves these words alone. Measured on master 6560abde with the PR's branch:
| Input | title | given | middle | family | suffix |
|---|---|---|---|---|---|
THEIN AUNG PE |
THEIN |
AUNG |
PE |
||
Thein Aung Pe |
Thein |
Aung |
Pe |
||
THEIN AUNG EI |
THEIN |
AUNG |
EI |
||
Thein Aung Ra |
Thein |
Aung |
Ra |
||
Kim Ra |
Kim |
Ra |
|||
Ra Thein Aung |
Ra |
Thein |
Aung |
There are two different mechanisms:
pe,lat,ei,siandpaare gated credentials. Each has a name reading in en.toml, so it is read as the suffix only where the name has a word to spare (rules/S4, an ambiguous acronym needs words to spare), and a name in one case gives no case signal (rules/S6, the case signal at the suffix slot). A name in capitals with three words or more therefore reads the syllable as the suffix, while two words (AUNG PE) and mixed case keep it. This holds in every comma shape and everyname_order.rahas no name reading at all. It is an ungated credential (en.toml) and an academic title (de.toml, Rechtsanwalt). So it is the suffix ending a name in any case (Thein Aung Ra, KoreanKim Ra,Park So Ra) and the title opening one (Ra Thein Aung). Yet it is borne as a name: ORCID's family boxes in Korea hold it 37 times and given boxes 25, PatentsView's Korean inventors 135 given and 100 family, and ORCID's Myanmar given boxes 2 (tools/name_usage.py Ra --boxes, 2026-11-19).
Measured (2026-11-19) on the population #1231 was measured on, rebuilt by its recipe: OpenSanctions' sanctions and PEP collections filtered to mm, plus Wikidata's English labels of people with Myanmar citizenship and a Burmese label, 2,990 Latin names.
- As written: 2 names lose a syllable, both ending in
Ra. - Upper-cased: 13 names lose one,
PE4,LAT3,RA2,EI2,PA1 andSI1, the same under the pack and by default. The population writes 57 names in capitals, none of these among them, so the count measures the shape, not a list. - How common the syllables are:
Eiis a common Burmese syllable: ORCID's Myanmar given boxes hold it 36 times (2.05% of 1,755 holders) and family boxes 7.Si8 given,Pa3,Lat1 each box,Penone.
Proposal A: the pack takes out the five credential readings, as it took out do's
When: the parse is under locales.MY.
Then: pe, lat, ei, si and pa lose their credential readings in the pack's fragment, so a Burmese name in capitals keeps its last syllable (THEIN AUNG PE → family 'PE').
Because: the caller's choice says the names are Burmese, where these are syllables. The pack already removes do's credential for the same reason (PR #1480).
Measured, simulated as a lexicon (parser_for(locales.MY, base=Parser(lexicon=Lexicon.default().remove('pe','lat','ei','si','pa','ra', kind='credential'))), with ra included):
- Fixes: the population's 2 names as written and its 13 upper-cased, breaking none.
- Costs against
plain:MY, fromconfig_diff.py diff plain:MY "expr:..." --committed --local ctgov-officials --local ctgov-contacts --local fec-individuals: 309 names move.paaccounts for 78,rafor 61, andpefor 43 with its dotted spellingP.E.. - The cost is worst after a comma: with the credential gone,
Jane Doe, PAreads given 'PA', family 'Jane Doe', the whole name reversed. - So Proposal A suits a Burmese list only; a caller reading a list that mixes Burmese names with Western credentials would lose them.
Proposal B: ra gets a name reading by default
When: any parse.
Then: ra carries a family reading, and perhaps a given one, in the file of the language its bearers write (ko.toml for the Korean surname). That derives the gated marker (SUFFIX_ACRONYMS_AMBIGUOUS), so a two-word Kim Ra keeps Ra a name word, while John Smith, RA keeps the credential.
Because: C-i in decisions/vocabulary-collisions asks for the marking where a word is borne as a name in the position its claim acts on. Korean surnames end a name written given-first, and Korean and Burmese given names end in it.
Unmeasured: how many Western RA credentials this gates, and whether de.toml's leading title RA should take the same name reading. Re-take both with config_diff.py diff default "expr:..." before deciding.
Questions
- Proposal A, B, both, or neither? B is a default change and needs no pack. A needs the pack and costs the credentials in comma lists.
- If A: all five, or only the ones a Burmese list measurably writes (
EI,PE,LAT)?PAis a common US credential (NPPES 54,128 providers), which keeps its reading in the pack if left out. - If B: which file holds
ra's name reading, and is it a family name, a given name, or both?
Activity
derek73 commentedon Nov 19, 2026
Decided 2026-11-19: a strict choice of
myis the way to read a list that is wholly Burmese; Proposal A is not needed. Proposal B (raa name by default) is a question about Korean names as much as Burmese ones and stays open here.Measured the same day on master
4b0b9441, the 2,990 names above, read right (the honorific and other real titles the title, the last word the family):parser_for(locales.MY)parser_for(locales.MY, strict=True)mywith an empty fragmentPE4,LAT3,EI2,RA2,SI1, a doubledPA), and as written the 2 ending inRa. It also reads the 10Mgnames as ShouldMg, Maung written short, read as a given name? (Mg Mg Ayegives title 'Mg Mg') #1232 asks.Sir, 9 names (General7,Lieutenant3,Senior2,Admiral1,Vice1 as title words). A rank written with its full stops is kept by its shape, andDr,Prof.,PhDand, MBBSare kept.de,RN,PharmD,Lecturerand the like losing their readings.The change that follows
parser_for(locales.MY, strict=True)as the way to read a Burmese list, and say what it costs a list that holds other names. The pack's fragment stays as merged, for a caller who chooses the pack plainly.my.tomllists the English rank words such lists write (general,lieutenant,senior,admiral,viceand their kin, each measured), so a strict choice keeps them.derek73 commentedon Nov 19, 2026
Decided 2026-11-19, on how a pack takes out another language's readings.
locales.MYandlocales.VIare the two packs whose fragment removes readings by name. Checked on masterd12af9d6: removing a reading that is no longer there raises nothing, in a lexicon or a pack, so an entry gone stale is silent and harmless; and a reading another language gains later is not on the list, which is silent and misreads names, and no test can name a word nobody has added. This issue is that case:pe,lat,ei,siandpaclashed already and were not listed. A strict choice names no other language's word, so neither can happen to it.The change, with the three steps above:
nameparser/locales/AGENTS.md, naming Should a Burmese choice readUandDawas titles, and stopSanjoining the family? (Daw Aung San Suu Kyigives given 'Daw', family 'San Suu Kyi') #1231 and this issue: before a pack removes another language's readings, a strict choice of the language is measured; strict with additions in the pack's own vocabulary file is preferred; a removal list records why strict would not do.locales.MY's fragment is dropped if the measured cost is small. It merged in Add locales.MY, a Burmese pack: U and Daw as titles, nine syllables kept name words #1480 and is unreleased, so nobody is broken. The pack is then the Burmese honorifics, and strict is a wholly Burmese list. The cost is to a caller reading a mixed list with the pack plainly, the names whereSan,LaorVanpulls words into the family: estimated at about 55 of the 2,990, to be measured before anything is removed, and reported if it is far from that.locales.VIis measured under strict and not changed. It shipped in 3.1 and reads the Vietnamese lists held at 100% with its list. Whether strict matches it says whether the list is still needed; that is a later question.No test is added to hold the removed words to the other languages' files: it would guard only the harmless half.
Read a wholly Burmese list with a strict choice of my; drop locales.M…
[-]Should a Burmese choice read `PE`, `LAT`, `EI`, `SI` and `PA` ending a name in capitals as name syllables, and should `Ra` be a name by default? (`THEIN AUNG PE` gives suffix 'PE')[/-][+]Should `Ra` be a name by default as well as a credential and a title? (`Kim Ra` gives suffix `Ra`; Korean and Burmese names)[/+]Merge master (#1521) into feat/ra-name-readings
Read Ra as a Korean family name and given name, not only a credential…