Repository navigation
Read a second name after an alias marker as the nickname - #1504
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
N4 states its precedence over N3 and M1, scopes the bare-marker Except, and names the suffix word that ends an alias before a boundary; the decisions entry records how its figures were counted and flags the scope labels' extra one; comments name the shared take. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…out of the alias's view (#1164) An alias in the given part after a family comma now leaves a trailing title, a bare salutation and a credential to the part's reading; a maiden clause before the alias no longer counts as a word to spare for the alias's trailing run; a nickname clause costs no frame. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…den-pair clause (#1164) A marker left a word is no name word for the next marker; the alias pass leaves the tail-part refusal to the shared take; N4 and the customize page say a choice of English turns alias and aka on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… out, ask the maiden take (#1164) The given part after a family comma no longer reads its end through the clause-free view, which disagreed with the part's own walk; the alias stops at a suffix word, a title or an ambiguous credential and hands the rest back. A maiden clause is left out of the alias's count only where M2's take takes it, and a maiden marker left a word is no name word for an alias marker behind it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found by test_parser's maiden-clause invariant: 'Rahim Osman @ Jaki Prof. née Smith' took the title into the nickname. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… it, stop at a trailing title only (#1164) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop two branches no input reaches (a clause role other than maiden or nickname, a joined piece as an alias boundary) and pin a title run handed back from the given part, which codecov/patch found unrun. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
Merged
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 #1164
What it does
A second name written after an alias marker is read as the nickname, and the marker is dropped (rules/N4, the alias marker, new).
Rahim @ Jaki bin Osman@ Jaki, familybin OsmanJaki, familybin OsmanRavi Kumar urf RajuKumar urf, familyRajuKumar, nicknameRajuTan Wei Keong @ Daniel TanWei Keong @ DanielDaniel TanRavi Kumar (urf Raju)urf RajuRajuThe decisions recorded on #1164 (2026-11-20):
@(written as a word of its own) andurfare markers by default.aliasandakaship writtendefault = false. A caller turns them on withLexicon.default().add("aka", "alias", kind="alias_marker"), recipe in docs/customize.rst. A choice of English turns them on too.bin,binti,a/l,a/p,anak), at another marker of either kind, or at the end of its part. With no such boundary, it ends where M2's maiden clause would: before the trailing post-nominal and title run in the part holding the family name.OSMAN, RAHIM @ JAKI).Rahim @ Jaki Osmangives nicknameJaki Osman). Whether to report this as an ambiguity is recorded as Open in decisions/N4. No new kind is added; it needs an issue of its own.X@Y, an e-mail address and an@handle.Mechanism
alias_markerin therelationcategory compiles toALIAS_MARKERS, internal setLexicon._sets.alias_markers. Classify tags the wordvocab:alias-marker._clause_take, which asks M2's three questions (where a marker counts, what it takes, the bound trailing run) for either marker._maiden_takeand the new_alias_takescall it with their own role. The alias pass runs first; an alias stops at a maiden marker, so the two read apart in either order._alias_markedand group's clause drop.Narrower forms declined
bin.@Wordas a marker: a handle in 13 of 16 uses.X@Y: 15 aliases against 8 strings that are no name.alias/akain a mixed-case name was a marker 29 of 29 times, but most markers are written in capitals.The counts are hand labels over master e0f698c's local corpora; decisions/N4 says how they were extracted.
Measured (against the merge base de8324a,
--base)Every name the change moved had previously read the marker inside a name field. So nothing that was right became wrong, though in the fork shape the family field empties.
bin, whose alias stops at the patronymic particle.Babbreviation (X @ Y Z B Wshape), which the alias runs through.urfnames count as regressions, because the filers typed the alias into the surname box (Mr Ravi Kumar Urf Rajushape).@.John Smith91 → 90,Smith, John99 → 98, a nickname name 146 → 144,Jane Doe nee Smith143 → 141.alias_markers, guards a part holding many markers. It measured 7.1x before the linearity fix.Sweeps
@.tools/differential/parity_check.py(0 of the parity rows read otherwise under 1.4.0).Reviews run
Follow-ups (not in this PR)
Parser.reviseturns a suffix value holding a maiden marker behind an undotted suffix word into a different value.Rahim Osman Jr née Smithrevises suffixJr née SmithtoJr Smith. This is already true on master.🤖 Generated with Claude Code