Repository navigation
Read a leading Md as the given name it abbreviates, not a title (#853) - #860
Merged
Merged
Conversation
`md` loses its title reading and keeps its credential one. A leading `Md` abbreviates Muhammad: of 1,300 UK PSC names whose forename box opens with it, 1,209 filers typed it there alone, and the title reading had put the forename box in `given` for none of them. `Mr Md Karim Uddin` now reads title 'Mr', given 'Md', middle 'Karim', as `Mohammad Karim Uddin` does; `John Smith, MD Jones` reads suffix 'MD Jones' where the title reading made 'John Smith' the family (about 380 ClinicalTrials.gov officials). Accepted costs, recorded in decisions/indic-honorifics and pinned as case rows: a particle behind Md starts the family (`Md Abu Sayed`, as `Mohammad Abu Sayed` reads), and `Uddin, Md Karim` reads the given part as credentials (9 FEC names). The Bengali মোঃ/মো entries stay titles. Rows, rule examples and comments that used MD as the title/suffix dual are respelled with RA, which reads as MD did at 1.4.0, 2.3.0 and the parent; the pair-scan benchmark's negative control was re-taken with it (120 -> 1,620 at 47fb2b2, 35 -> 131 here). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #860 +/- ##
=======================================
Coverage 99.05% 99.05%
=======================================
Files 47 47
Lines 4669 4669
=======================================
Hits 4625 4625
Misses 44 44 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- decisions/C13's #603 entry gains its supersession note: #853 moves `John Smith, MD Jones` and the `MD - PhD - FACS` rows it had kept. - Four rule examples still used MD as the title/suffix dual and no longer exercised their clause (C9, C11, C12, H6); respelled to RA, as is AGENTS.md's `is_title_piece` sentence. - The accepted comma cost reaches a given part with titles in front (`Uddin, Mr Md Karim`); recorded, pinned as a case row, and the "reads as Mohammad" claim scoped to names with no comma. - The release bullet stated that comma reading as unchanged; it now names it as the limit it is. The Standing line names the `Md.` exception. - The PSC and corpus figures are restated against a written recipe (1,246 alone, 54 with more words, 18 families lost, 37 `Md.`, 16 committed entries moved), and the en.toml reason follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Answers question 4 of #853 (whether the
mdtitle decision holds up against filed data). Questions 1–3 (title words after another title,Wing, the period-markedMa.) stay open on the issue, so this PR does not close it.What changes
mdloses its title reading and keeps its credential reading. Itsexcludedacademic entry inen.tomlcarries the reason.Mr Md Karim UddinMr Md, givenKarimMr, givenMd, middleKarimMd RahmanMd, given emptyMd, familyRahmanJohn Smith, MD JonesMD, givenJones, familyJohn SmithSmith, suffixMD JonesJohn Smith MD,John Smith, MDMDA leading
Mdnow reads the way the spelled-outMohammadalready did.Evidence
The
psc-individualslocal corpus (#849) has 1,300 names whose forename box starts withMd. 1,246 of those filers typedMdalone in the forename box (37 asMd.), most putting the rest of the given name in the middle box. Each candidate reading scored against the filed boxes:abdulThe bound-given reading was declined: it would make
Mdjoin the next word, whichMohammaddoesn't do.Moves in the other local corpora, against the same tree with
mdadded back as a title:John Smith, MD Jonesshape, fixed.decisions/indic-honorificsentry.Accepted costs
Both are pinned as case rows and recorded in the decisions entry.
Mdstarts the family:Md Abu Sayed→ familyAbu Sayed(18 PSC names).Mohammad Abu Sayedalready reads this way.Uddin, Md Karimreads the given part as credentials (rules/C13) and reportssuffix-or-name(9 FEC names). Titles in front don't stop it:Uddin, Mr Md Karimgives titleMr, suffixMd Karim. Markingmdambiguous would fix this, but everyJohn Smith MDwould then report too.Not changed
Md.is still a title by the rules/H2 shape (Should a title word written after another title be the given name (Mr Sultan Khan,Mr Md Karim Uddin)? #853 question 3).Other edits
MDas their title/suffix dual now useRA.RAreads exactly asMDdid at 1.4.0, 2.3.0 and the parent; I checked this against the wheels.RA: 120 → 1,620 at 47fb2b2, 35 → 131 on this tree.John Smith, PhD Jonesreads familyJohn Smith#603 entry gains a supersession note, since it had keptJohn Smith, MD Jonesat its 2.3 reading.Verified on this branch: the full suite on 3.11 and 3.15, ruff, mypy,
sphinx-build -b doctestand the README doctest.🤖 Generated with Claude Code