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
Should John Smith, XYZ read XYZ as a credential by default, even though John Smith XYZ doesn't? #564
Policy.unlisted_caps_suffixes is off by default because an all-caps surname is a real writing convention: with it on, Jean Pierre DUPONT gives suffix DUPONT. That convention puts the capitals on the family name, either last with no comma (Jean DUPONT) or before a comma (DUPONT, Jean). It never puts them after a comma behind a full name. The reason for the off default therefore does not reach the comma position, yet the comma position is switched off with it:
Corpus: every corpus file under tools/differential/ holds 3 names with one comma, two or more words before it, and a single unlisted all-caps word after it in mixed-case input (measured 2026-09-30). All three are credentials, and all three put the credential in given today: Ahmad Jayadi, CHA, John Smith, RAI, The Rt Hon Kenneth Clarke QC MP, HMG.
Proposed rule
Rationale: after a comma behind two or more words, an all-caps word in mixed-case input is far likelier a credential than a given name written in capitals.
Statement: in that position, an unlisted all-caps word of three or more letters reads as a credential at the default, reported SUFFIX_OR_NAME. A two-letter word stays as it is today, because it has the same double-surname hazard as #563's dotted initials (Lloyd Webber, AL, De La Cruz, MJ).
Examples (target readings):
"John Smith, XYZ" → suffix="XYZ" ambiguity: SUFFIX_OR_NAME
"Ahmad Jayadi, CHA" → given="Ahmad" family="Jayadi" suffix="CHA"
"De La Cruz, MJ" → given="MJ" family="De La Cruz" · unchanged: two letters
"Smith, XYZ" → given="XYZ" · unchanged: one word before the comma
"John Smith XYZ" → family="XYZ" · unchanged: no comma, the DUPONT position
"Van Buren, MARTIN" → ? · see open questions
Open questions
Van Buren, MARTIN (a two-word surname with the given name in capitals) moves under this rule. How often does mixed-case input capitalize the given name and not the family? The corpus has no such row.
Is this a change to the default, or a third value for the switch (off / after a comma only / everywhere)?
Activity
De La Cruz, Edlose its given name? #575fix(S2): #564 -- the name's contrast is a capital followed by lowerca…
fix(S2): #564 -- the name's contrast: a capital and a lowercase last …
fix(S2): #564 -- the contrast reads a word's last LETTER, not character
fix(S2): #564 -- a caseless letter is no evidence of case; a runnable…
fix(S2): #564 -- no unreachable fall-through in written_as_a_name
docs(S2): #564 -- the recipe states its extraction regex
Merge pull request #577 from derek73/feat/issue-564-comma-caps-creden…
feat(S2): read an all-caps credential after a comma by default (derek…
fix(S2): derek73#564 review round -- mixed runs, case repair, frame g…
fix(S2): derek73#564 second review -- the name's contrast, repair gua…
fix(S2): derek73#564 third review -- one name_contrast over the name'…
fix(S2): derek73#564 fourth review -- the contrast comes from unliste…
fix(S2): derek73#564 -- the name's contrast is a Title-case name word…
fix(S2): derek73#564 -- a lone capital is not Title case; record the …
Split rules/S2 and decisions/S2 into one rule per piece of evidence (#…
Standing blocks for suffix-acronym-collisions and vocabulary-collisio…
docs(design): Standing blocks for decisions S2, S5, S7, S8 and S9 (#762…