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
Simplify: single-source the strip set, auto-discover span pins, trim accretion
The strip-policy set is now defined ONCE (_stripped, shared by
_ignorable and _flank), making the flank-transparency invariant
structural: a new strip class added to the policy stays transparent
to the interpunct guard by construction instead of silently
re-opening the RTL-quote bug. _flank takes a range and the policy
(three params instead of five; the bound arithmetic lives at the
call sites where the region is in scope), and the right flank is now
walked only after the left one classifies -- half the guard work on
every Catalan punt-volat name. The dead 'not is_separator' conjunct
on the interpunct test is gone (unfalsifiable: B7 is no comma, no
space, and _ignorable cannot claim it).
The differential span pins single-source through _SANCTIONED_EXTRAS,
_declared_spans and _expected_bmp_spans, and the compound-rule pin
auto-discovers every span-bearing rule that intersects the table
instead of reading a hand-maintained slug roster whose own docstring
admitted its failure mode ('or its span copy goes unpinned') -- a
third compound rule is now pinned by existing.
Review-round comment accretion trimmed to single homes: the nakaguro
roster doctrine lives at _NAME_DOT_SEPARATORS (with the 高橋・一郎
example), the placement rationale at _INTERPUNCT, the suppression
rationale in _effective_order's docstring. Two duplicate tests
deleted: test_undotted_han_still_reads_family_first was byte-identical
to test_script_order_applies_when_every_piece_is_one_script, and the
assign-level nakaguro roster test restated the pre-existing
ja_nakaguro_han_takes_the_han_order case row plus the tokenize-level
non-recording pin.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments