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 JP Smith match John Paul Smith? An undotted pair of capitals reads as one given name, so the pair conflicts where J.P. Smith matches #1351
Measured on master 970b54e, 2026-11-11, Parser().matching().check:
Pair
Given
Middle
Consistent
J.P. Smith / John Paul Smith
initial
initial
yes
J. P. Smith / John Paul Smith
initial
initial
yes
JP Smith / J. P. Smith
initial
one-side
yes
JP Smith / John Paul Smith
conflict (JP / John)
one-side
no
Jp Smith / John Paul Smith
conflict
one-side
no
The parser reads JP as one given word, so the match never sees two initials. The outcome is not transitive: JP matches J. P., and J. P. matches John Paul, but JP does not match John Paul. #1264's table listed only the dotted J.P. Smith, which it settled.
How often (2026-11-11): a script counted two-word names across the 16 local corpora, excluding names written wholly in capitals.
2,013 names read XY Smith with given XY and no middle, where XY is 2–3 capital letters followed by a capitalized word: orcid-researchers 1,295, jrc-names 571, ctgov-officials 114, patentsview-inventors 26, ukec-individuals 5, nepal-candidates 2.
For comparison, 3,160 are written X. Y. Smith.
Only 812 of the 2,013 (373 distinct words) hold no vowel, which is an upper bound on how many are plainly initials.
The rest collide with names written in capitals:LI, MA, KIM, LEE, WU (surnames written first in capitals), and ALI, BOB, IAN, TIM, SAM, ED, AL, MD (Muhammad). Shape alone cannot decide them.
Options:
(A) In the match only:
When: the given word is 2–3 capital letters with no vowel, in a name not written wholly in capitals, and the other side has a given name.
Then: the word's letters are compared as initials against the other side's given and middle names, in order, and the row reads initial.
Because: writing initials without stops is common in bylines and registries, and the match already reads JP against J. P.
Accepted: a vowel-less given name written in capitals, or a consonant-only Chinese or Korean romanization in capitals (e.g. NG), reads as initials.
Decided 2026-11-13: option A, in the match only, with a different gate from the one proposed.
When: one side's given word is two or three capital letters, in a name not written wholly in capitals, and it has no middle name.
Then: it is consistent with the other side where that side's given and middle names spell exactly those letters, in order (JP Smith / John Paul Smith); the rows read initial.
Because:JP already matches J. P., and J. P. matches John Paul, so refusing JP / John Paul makes the match non-transitive.
Not the "no vowel" gate: it would refuse AJ, EJ and OJ. Requiring the letters to be spelled exactly by the other side's names needs no vowel test, and a word such as LI or MA matches only a person whose names begin with those letters.
Unchanged: the parse (JP Smith keeps given JP), a word not in capitals (Jp Smith), and the keys (both sides already share smith;j).
To be measured before it is built: how many corpus pairs move, and what they are.
Measured 2026-11-13; the decided gate stands. Two gates were compared over five corpora (ORCID, ClinicalTrials.gov officials, PatentsView, PSC, parliaments), counting pairs of names that share a default key and become consistent:
Gate
Newly consistent pairs
Sample read against the corpus's other fields
the other side's given and middle names spell exactly the letters (decided)
2,475
of 125: 34 the same person, 36 another person with the same initials, 55 unclear
the capitals compared as the same letters with full stops, one-sided where the counts differ
44,562
of 100 added pairs: 0 the same person, 43 another person, 57 unclear
The second gate was considered because it makes the match transitive with the dotted spelling. It is refused: the commonest capitals words in these corpora are given names written in capitals before a family name (YI, YU, YAN, LI, MA), and read as initials each matches everyone sharing its first letter and family name.
Accepted with the decided gate: JP Smith is consistent with John Paul Smith, which is consistent with John Smith, while JP Smith and John Smith conflict. The wrong pairs in the first sample are the error dotted initials already make (A. M. against two people with those initials), not a new one. Words are counted as the dotted spelling's comparison counts them, so a bound given name (Abdul Adil) is one.
Correction to the counts above (2026-11-13). Both gates were undercounted: names whose family name holds an accent were dropped from the partners. Recounted with the partners folded, the decided gate makes 2,628 pairs newly consistent and the refused one 46,940 (44,312 of them beyond the decided gate). The samples and the conclusion are unchanged; decisions/name-matching holds the table and says which partner set each earlier figure used.
Activity
derek73 commentedon Nov 14, 2026
Decided 2026-11-13: option A, in the match only, with a different gate from the one proposed.
JP Smith/John Paul Smith); the rows readinitial.JPalready matchesJ. P., andJ. P.matchesJohn Paul, so refusingJP/John Paulmakes the match non-transitive.AJ,EJandOJ. Requiring the letters to be spelled exactly by the other side's names needs no vowel test, and a word such asLIorMAmatches only a person whose names begin with those letters.JP Smithkeeps givenJP), a word not in capitals (Jp Smith), and the keys (both sides already sharesmith;j).To be measured before it is built: how many corpus pairs move, and what they are.
derek73 commentedon Nov 14, 2026
Measured 2026-11-13; the decided gate stands. Two gates were compared over five corpora (ORCID, ClinicalTrials.gov officials, PatentsView, PSC, parliaments), counting pairs of names that share a default key and become consistent:
The second gate was considered because it makes the match transitive with the dotted spelling. It is refused: the commonest capitals words in these corpora are given names written in capitals before a family name (
YI,YU,YAN,LI,MA), and read as initials each matches everyone sharing its first letter and family name.Accepted with the decided gate:
JP Smithis consistent withJohn Paul Smith, which is consistent withJohn Smith, whileJP SmithandJohn Smithconflict. The wrong pairs in the first sample are the error dotted initials already make (A. M.against two people with those initials), not a new one. Words are counted as the dotted spelling's comparison counts them, so a bound given name (Abdul Adil) is one.derek73 commentedon Nov 14, 2026
Correction to the counts above (2026-11-13). Both gates were undercounted: names whose family name holds an accent were dropped from the partners. Recounted with the partners folded, the decided gate makes 2,628 pairs newly consistent and the refused one 46,940 (44,312 of them beyond the decided gate). The samples and the conclusion are unchanged; decisions/name-matching holds the table and says which partner set each earlier figure used.
Spell no letter with a capitals word, and keep the records to the code