Repository navigation
Release 2.7.0 - #921
Merged
Merged
Release 2.7.0#921
Conversation
Merge phase 2j's eight given-name-title bullets into one (the Shaikh bullet still said Sheikh and Shekh were titles, which #912 reversed), lead with the title phrase, add a summary and highlights, and name locale packs among the pickles that no longer load (measured: a 2.6.0 pickle of locales.ZH raises the Lexicon field error). migrate.rst gains one entry per 2.7 shape whose 1.4 reading moved, each with a doctest, moves the two 2.7 entries that sat among the 2.6 ones to the end, and gives the 2.3 Prince entry its 2.7 qualifier. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Reads: lines Steps 2-3 of the release checklist, and two stage Reads: lines that this cycle's reads outgrew, found by comparing each module's Reads: block against its lexicon./policy. accesses: _extract's _suffix_shaped reads suffix_words_ambiguous (#890), and _assign reads given_name_titles for an alternative's P5 licence (#902/#905). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e a moved title Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TITLE_STYLES and Lexicon.title_styles said a style is a title and is never consulted outside titles; seven styles (grace, sheikh and its spellings) sit in titles_ambiguous and are consulted there (removing 'sheikh' from title_styles moves 'Grand Sheikh Dean Smith'). The Lexicon docstring named two multi-word-exempt fields; title_phrases is a third. GIVEN_NAME_TITLES is a subset of the title readings, not of TITLES: king, prince, sheikh and six more compile to TITLES_AMBIGUOUS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
customize.rst: a 'Titles that are also given names' section (rules/H9, the title-or-name report and its alternative), the marker-field paragraph turned into a table (given_name_titles, title_modifiers and title_styles sit over titles or titles_ambiguous), the post-nominal separator section split by task with Pharm D doctested, and a wrong claim fixed: declaring ' - ' does not drop a glued hyphen. usage.rst and concepts.rst gain the title phrase where ambiguities and roles are explained. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…names (#784) Since #784 a numeral VI to X reads as a suffix on both sides of tail_reading, so rules/P5's Accepted clause, AGENTS.md's tail_reading gotcha and decisions/H5's standing line cited examples that now read title 'Prof.', suffix 'VI'. Each now shows the shape that remains, V before a third comma part (Smith, John Mc Prof. V, Jr. -> suffix 'Mc, Jr.', middle 'Prof. V'); the dated log entries keep the old spelling as history. generational-words' Open line drops #843, closed and decided in decisions/S11. rules_budget re-recorded: P5's Accepted words 198 -> 192, from this edit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C2 and S8 read a title word past the second comma or after a credential as a title; a word that may also be a given name is not one there (John Smith, Jr., Dean keeps suffix 'Jr., Dean'). The suffixes Background named two multi-word-exempt fields; title_phrases (#894) is a third. AGENTS.md's honorific caution no longer cites Prince and Sheikh, which 2.7 moved to TITLES_AMBIGUOUS, or marshal as still out. rules_budget re-recorded for C2 and S8's grown Then lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s pickles Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the design-docs review of this PR: the new C2 and S8 clauses said a word that may also be a given name is never a title there, but a phrase still is (John Smith, Jr., Dean of Students -> title 'Dean of Students'); only the bare word stays a suffix. AGENTS.md still claimed GIVEN_NAME_TITLES is a subset of TITLES at two more sites; the extension recipe now uses AFTER_GIVEN_TITLES as its example, and the warning note names the union (titles_ambiguous warns per word too, checked). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er a comma From the claims review of this PR: the merged given-name-title bullet let 'a bare one after a comma reverses it' cover the qualifiers Vice and Grand, which stay titles there (John Smith, Grand -> title 'Grand'), and dropped the Wing. clause the Wing bullet carried. The first highlight had two before/after pairs, and README said King Curtis 'keeps' a first name 2.6 did not give it. AGENTS.md's release-log guidance gains the lesson beside its merge rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, and given/family for field names The 2.7.0 section names the fields given and family rather than first and last, the summary introduces 2.7 as the first release towards the vocabulary model RFC, and the title-phrase highlight shows the contrast (Dean Smith gives given 'Dean'). README's announcement follows the new summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ler trips on 1,690 words to 1,139 across the 2.7.0 section, no bullet over 110: the secondary examples, word lists and version history that the issues and decisions/ already hold are cut, and every limit a caller would meet is kept. Each kept or reworded reading was re-run on the tree. 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.
Ships nameparser 2.7.0, vocabulary phase 2 (#752). It adds the title phrase (rules/H9, a title that is also a given name is a title only inside a title phrase), credentials written joined, split, in capitals or in brackets, given names written short, and
Ambiguity.alternative. Facade DeprecationWarnings wait for 2.8, as decided.Release checklist, steps 0–3
snapshot.py --since v2.6.0: 420 entries differ, 2 of them held only bycorpus_cldr.jsonl. 304 are names new to the corpus and 15 were removed, which leaves 101 moved readings; 57 of those move only an ambiguity. Every move traces to a release-log bullet (H9 and phase 2j, S6 capitals, S13 brackets, ShouldJohn Smith, MD - PhDsplit its suffixes without a declared delimiter, and cansuffix_delimiterbe deprecated? #889, ShouldJohn Smith VI MDread likeJohn Smith III MD? #784 numerals, ShouldJohn Smith Ph. D. Jonesread likeJohn Smith PhD Jones, or is the split spelling's reading the better one? #827, S11 agnomens). The v2.6.0 snapshot carries the case views (Has case repair now earned a column in the snapshot, as initials() did? #826), so they are compared there and need no separatecompare.py --baseline 2.6.0run.Lexicon,Parserand locale packs raise,Policy,ParsedName,AmbiguityandHumanNameload. The bullet had missed locale packs; it now names them. The new fields, from adataclasses.fieldsdiff against v2.6.0:Lexicongainsagnomens,given_name_abbreviations,suffix_words_ambiguous,title_modifiers,title_phrases,title_stylesandtitles_ambiguous.Ambiguity.alternativecarriesADDED_IN, so those pickles still load.MA Jones, Filho and fils,(JD), and the existing/and Bon/Herren entries, which moved to the end.HumanNameon 1.4.0, 2.6.0 and 2.7; only the 2.0 API's newtitle-or-namereport changed.Constants().titlescannot restore a moved title: the word is still listed there, so adding it is a no-op. The 1.4deanrecipe still works.title-or-namereport and itsalternative. The marker-field paragraph is now a table, which fixes a claim thatgiven_name_titles,title_modifiersandtitle_stylessit overtitlesonly. The post-nominal separator section is split by task, with Pharm D doctested. A wrong claim is fixed: declaring" - "does not drop a glued hyphen.Reads:lines. Checked mechanically against each stage'slexicon./policy.accesses._extract(suffix_words_ambiguous, Gate generation readings by kind: fils, the Brazilian agnomens, default = false (#752, phase 2h) #890) and_assign(given_name_titles, Carry the reading a report did not take, as Ambiguity.alternative (#752, phase 2m) #902/Name an alternative's field through one slot and one name-piece helper (#752) #905) had outgrown theirs.TITLE_STYLESandLexicon.title_stylesclaimed styles are titles only, but seven sit intitles_ambiguousand are consulted there. TheLexicondocstring now namestitle_phrasesas a third multi-word-exempt field.AmbiguityKind.TITLE_OR_NAMEwording and acases.pynote.tail_readinggotcha and decisions/H5's standing line cited examples that ShouldJohn Smith VI MDread likeJohn Smith III MD? #784 made read as suffixes. They now show the V shape that remains; the dated log entries are kept as history.John Smith, Jr., Deankeeps suffixJr., Dean).GIVEN_NAME_TITLES"subset of TITLES" claim and its honorific caution are fixed.rules_budget.jsonre-recorded for P5 (shrank) and C2/S8 (grew), all from these edits.Mc DonaldandSte Marieread the particle as the given name #360 open (it closed 2026-08-18), and S11's 2026-10-25 "NOT DONE" line lacks a superseded marker.python -m doctest README.rstpasses and readme_renderer renders it.PRE_RELEASE = "", CITATION.cff 2.7.0, release log stamped October 27, 2026. Restamp it if the tag lands on a later day.Review
Dean of Studentsis still a title, while a bareDeanstays a suffix. AGENTS.md still claimedGIVEN_NAME_TITLES ⊆ TITLESat two more sites. Both fixed in 9e1b297.ViceandGrand, which stay titles there, and it had dropped theWing.clause. Smaller fixes: README said King "keeps" a first name, and the first highlight had two before/after pairs. All fixed in e27aff9, and AGENTS.md's release-log guidance now says to carry a merged bullet's limits over.Justice Smithgiving givenJustice.Local checks:
-n0 -m serial: 43 passedbuild.py --check-WAfter merge: tag
v2.7.0on the squash commit,gh release create, approve thepypienvironment, close milestone 2.7. Then a PR for steps 8–9: DEFAULT_BASELINE 2.7.0, VERSION 2.8.0 withPRE_RELEASE = "dev". No "Next Release" milestone unless Derek asks for one.🤖 Generated with Claude Code