Repository navigation
Read a degree's possessive after a name and a comma as the title (#1487) - #1492
Merged
Merged
Conversation
master's, bachelor's and doctor's join en.toml as title modifiers, each also written with the typographic apostrophe, which the vocabulary does not fold: `Nadir Qassoumi, Master's degree` gives title "Master's degree", given 'Nadir', family 'Qassoumi', where 1.4.0 through 3.1 gave given "Master's", family 'Nadir Qassoumi'. A modifier claims no front of a name alone, so `Master's Nadir` keeps its given name. measure.py against master moves 274 ClinicalTrials.gov names and nothing else; 258 now read the name apart and 16 read wrong as before (a field after `in`, a word cut short). decisions/salutation-titles records the measurement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#1457's boundary row still expected `Master's degree` to read as the given name and failed; it now holds U+02BC, the apostrophe left unlisted. Rows hold the typographic twins, capitals, lower case, a second head and the family comma, where a possessive opening the given part is the title, the cost decisions/salutation-titles now records with the seven moves that only took the possessive out of the suffix. The doctor's note no longer names wrong readings it has none of, and the release-log bullet and migrate.rst say a possessive opening a name alone stays the given name, migrate.rst naming the modifier kind to remove. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… mostly reversed (#1487) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… own (#1487) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…essive-degrees # Conflicts: # tests/v2/cases.py
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.
Closes #1487
What changes
master's,bachelor'sanddoctor'sjoinen.tomlas title modifiers:1.4.0 through 3.1 gave given "Master's", middle 'degree', family 'Nadir Qassoumi'. The name is invented, of the shape read.
occupation; the decision was modifiers):, Bachelor's) or before its head (degree,student,candidate).Master's Nadirkeeps given "Master's", as before._normalizekeeps U+2019), so one entry cannot match both. Each word is listed again with the typographic apostrophe, asfr.tomllistsd’besided'.´(MASTER´S). That spelling is left unlisted as a misspelling, and a boundary row holds it.Doctoralone (a different word) andMasters.O'Master).Nadir Master's, family).Master's, John, family).Ahmed Ali, Bachelorgives givenBachelor, familyAhmed Ali) #1457's for modifiers. A possessive opening the given part after a family comma is the title:Qassoumi, Master's Nadir→ title "Master's".Measured
tools/differential/measure.py --baseagainst master13cf07cd, 30 steps.ctgov-contacts(183 entries) andctgov-officials(98).fec-individuals(surname-first), every other local corpus, the committed snapshot, and the CLDR and GND records.Every one of the 274 distinct moved names was read:
master'sbachelor'sdoctor's…, MD, Master's in epi) leavesin epiin the suffix.inorof(10,Master's Degree in Medicine→ given 'in');Master's Nursing);deg,Stu,thrapy);The full record, with a recompute recipe, is in decisions/salutation-titles' 2026-11-19 #1487 entry.
Also changed
docs/migrate.rst: "A job or degree after a comma" now includes the possessive, says a qualifier claims no name it opens alone, and names both kinds for removal.docs/release_log.rst: Should a spelled-out degree or job after a name and a comma read as one? (Ahmed Ali, Bachelorgives givenBachelor, familyAhmed Ali) #1457's unreleased bullet no longer says the possessive "still takes the name over", and carries:issue:1487``.Ahmed Ali, Bachelorgives givenBachelor, familyAhmed Ali) #1457's "not listed" bullet.tests/v2/cases.py:Ahmed Ali, Bachelorgives givenBachelor, familyAhmed Ali) #1457's boundary row expected the old reading and now holds an unlisted apostrophe (U+02BC).´.Checks
uv run pytestpasses (51,667), and so doesuv run pytest -n0 -m serial.uv run mypyanduv run ruff checkpass.sphinx-build -b doctest docsandpython -m doctest README.rstpass.tools/vocab/build.py --checkreports the compiled files current.tools/differential/parity_check.py: 0 of 656 rows read otherwise under 1.4.0.fix(#1487)rows fail on master; theparityrows hold there and under 1.4.0.Reviews
master'salone; 57f1dc6 restores the other two notes.Follow-up, not in this PR
Case repair writes
Master'Sundercapitalized(force=True)(King'S Counseltoo, on master). It shows more often now that these words read as titles.🤖 Generated with Claude Code