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
What does an initial look like in Devanagari, Bengali and the scripts like them? (एम. एस. वर्मा gives initials() 'ए. ए. व.') #1273
#1191 stopped a Latin initial spelled out in a Brahmic script (एम. for M., এম., ਐਮ.) from reading as a title. It now reads as a name word. But nothing reads it as an initial. classify tags an initial by T5's shape, one word character and a period, and a spelled initial is two letters (एम.), or a letter and a vowel sign (बी., के.). Measured on master b76f278:
Input
today
what reads it
एम. एस. वर्मा
given एम., middle एस., family वर्मा (right)
एम. एस. वर्मा.initials()
ए. ए. व.
R3 takes the first character: M., S., N., L. and F. all give ए.
none, so no rule that reads an initial (M4, O5, P7, C9, S10, O1) sees one
T5
राम वर्मा एम.एस.
suffix एम.एस. (suffix-or-name)
S3 (the unlisted dotted suffix shape): #864's paired-initials exception needs a script with capitals
राम वर्मा, एम. डी. (M.D. spelled)
given एम., middle डी., family राम वर्मा
C1: neither word is a listed credential; CLDR's Marathi renderings write these
The shape question: in a Brahmic script, is a spelled initial an initial? If so, what marks one: a short word and a period (एम., बी., के., डी.), or a closed list of the spelled Latin letters per script? And what is its initial: the word itself (एम.) or its first character? The answer decides the other rows: the tag that rules read, initials(), whether एम.एस. is paired initials, and whether spelled credentials after a comma are listed vocabulary.
Where they occur: the 39 Lok Sabha names #1191 measured in in_sansad; nepal-candidates' Devanagari side (none moved under #1191, so to be measured); CLDR's Marathi fictional renderings.
Data points from the #1254 work (PRs #1347 and #1348), which made two rules depend on what T5 tags as an initial. Readings and counts re-taken on master 670b349, 2026-11-12, unless marked.
Where the line falls today. T5 tags a Devanagari word as an initial when it is one bare letter and a full stop. A letter with a vowel sign is two code points and gets no tag, with or without the full stop.
So the same person's name moves in Latin and stays in Devanagari, and the romanized byline reports where the Devanagari one is silent. rules/O8's Accepted clause and rules/O4's third Except bullet state both as limits and point here.
Counts in nepal-candidates (237,408 distinct corpus spellings: 119,285 holding a Devanagari letter, 118,123 not; a script reading corpus.jsonl, each name parsed under parser_for(locales.NE) and under the same parser with initials_as_family off):
551 romanized spellings move under the pack's switch; 1 Devanagari spelling moves (the आ. म. shape above).
598 Devanagari spellings end in two or more spaced one-letter words (one letter with its vowel signs, a full stop allowed) after a longer word: 597 keep their reading, 1 moves. The commonest runs: वि क 259, बि क 109, वि. क. 59, के सी 55, के. सी. 23, बि. क. 17. This matches the 597 that rules/O8 quotes from 2026-11-11.
2,410 more end in the same letters written as one dotted word (वि.क. 918, वि.क 383, के.सी. 311, बि.क. 270, के.सी 137, बि.क 113): none moves, and none needs to for the family name, which position already gives.
Order reports (default parser): 1,580 Latin spellings report order; 0 Devanagari spellings do. Of Devanagari spellings shaped one longer word followed by nothing but such letters (spaced or as one dotted word), I count 1,891, all silent: 1,381 written with a full stop somewhere, 510 bare. decisions/O4's Report the order on a name of one word followed by initials (#1254) #1348 entry gives 1,407 for "names of the shape" from that PR's review (2026-11-11), a narrower cut whose recipe is not in the tree; treat it as a dated snapshot.
What this adds to the question.
The surname abbreviations (बि.क. for B.K., के.सी. for K.C.) are spelled with a vowel sign because they transliterate the Latin letter's name (बि = "bi", के = "ke"). So in this population the spelled-letter case of this issue (एम. for M.) and the vowel-sign case are the same thing: a syllable standing for a Latin letter. A rule that takes only bare letters as initials catches 1 name in 598.
A shape test of "one consonant or vowel with its vowel signs, then a full stop" would tag बि., के., सी. and also every one-syllable word written with a full stop. The bare spaced forms (वि क, 259) have no full stop at all, so a full-stop test alone still leaves most of the 598 untouched.
A closed list of the syllables that spell Latin letters, per script, is the other route this issue names; वि/बि, क, के, सी, जी cover nearly all of the runs counted here.
Whatever is chosen is read by O8 (the pack's switch), O4's order report, T7, and initials(), so राम बहादुर वि क under locales.NE and the report on राम बि.क. are the two rows to put in the grid.
Activity
ჯეკ MA,ကြည် ကြည် ဌေး,एम. एस. वर्मा) #1256Count names in Georgian, Armenian, Thai, Ge'ez, Burmese and Gurmukhi …
derek73 commentedon Nov 12, 2026
Data points from the #1254 work (PRs #1347 and #1348), which made two rules depend on what T5 tags as an initial. Readings and counts re-taken on master 670b349, 2026-11-12, unless marked.
Where the line falls today. T5 tags a Devanagari word as an initial when it is one bare letter and a full stop. A letter with a vowel sign is two code points and gets no tag, with or without the full stop.
Policy(initials_as_family=True)/parser_for(locales.NE)झलक बहादुर आ. म.आ.[initial],म.[initial]बहादुर आ., familyम.बहादुर, familyआ. म.(moves, rules/O8)राम बहादुर बि. क.क.[initial] onlyबहादुर बि., familyक.बि.is no initial)राम बहादुर वि कबहादुर वि, familyकराम बहादुर बि.क.बहादुर, familyबि.क.राम क.क.[initial]राम, familyक., reportsorderराम बि.क.राम, familyबि.क.Ram Bahadur B KB,K[initial]Bahadur B, familyKBahadur, familyB KRam B.K.shape:acronymB.K., reportsorder,suffix-or-namesuffix-or-nameSo the same person's name moves in Latin and stays in Devanagari, and the romanized byline reports where the Devanagari one is silent. rules/O8's Accepted clause and rules/O4's third Except bullet state both as limits and point here.
Counts in
nepal-candidates(237,408 distinct corpus spellings: 119,285 holding a Devanagari letter, 118,123 not; a script readingcorpus.jsonl, each name parsed underparser_for(locales.NE)and under the same parser withinitials_as_familyoff):आ. म.shape above).वि क259,बि क109,वि. क.59,के सी55,के. सी.23,बि. क.17. This matches the 597 that rules/O8 quotes from 2026-11-11.वि.क.918,वि.क383,के.सी.311,बि.क.270,के.सी137,बि.क113): none moves, and none needs to for the family name, which position already gives.order; 0 Devanagari spellings do. Of Devanagari spellings shaped one longer word followed by nothing but such letters (spaced or as one dotted word), I count 1,891, all silent: 1,381 written with a full stop somewhere, 510 bare. decisions/O4's Report the order on a name of one word followed by initials (#1254) #1348 entry gives 1,407 for "names of the shape" from that PR's review (2026-11-11), a narrower cut whose recipe is not in the tree; treat it as a dated snapshot.What this adds to the question.
बि.क.for B.K.,के.सी.for K.C.) are spelled with a vowel sign because they transliterate the Latin letter's name (बि= "bi",के= "ke"). So in this population the spelled-letter case of this issue (एम.for M.) and the vowel-sign case are the same thing: a syllable standing for a Latin letter. A rule that takes only bare letters as initials catches 1 name in 598.बि.,के.,सी.and also every one-syllable word written with a full stop. The bare spaced forms (वि क, 259) have no full stop at all, so a full-stop test alone still leaves most of the 598 untouched.वि/बि,क,के,सी,जीcover nearly all of the runs counted here.initials(), soराम बहादुर वि कunderlocales.NEand the report onराम बि.क.are the two rows to put in the grid.🤖 Generated with Claude Code