Repository navigation
Design: file-strict, a strict choice reads only the chosen files (#753) - #985
Merged
Merged
Conversation
Strict redefined as file-strict: only the chosen languages' files plus native-script vocabulary, mul.toml and und.toml excluded, so it needs no 3i. Records the definition, measurements on the cached local corpora (ORCID per country, the van chain, credential and salutation cost, the words each file lacks, files with no readings, the ungated words) and a proposed API, in the RFC's phase 3 and decisions/vocabulary-model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mark the superseded name-strict passages (decision 6, item 2), keep 2026-10-28's strict=True argument as decided, place 3j in the interleave, count per-word moves by containment, state that shape rules still act, correct the mul.toml note claim and the Korean surname mechanism, keep 3i's evidence in the entry, and note vi cannot yet be chosen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#753) 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.
Docs-only design note for #753, phase 3. It redefines strict as file-strict: a strict choice reads only the chosen languages' files plus native-script vocabulary, and
mul.tomlandund.tomlare not among them. For a credential, the colliding reading leaves along with the name reading, soMinh Docannot read suffixDo. For other kinds, 16 words keep an ungated reading under strict, such asDo Van Minh→ family under strictpt; the remedy there is data in the chosen file. Either way, strict no longer needs 3i, the bearers'-languages attribute that name-strict was waiting on. Nothing is built here.Where it lands
docs/design/vocabulary-model-rfc.md, phase 3:docs/design/decisions/vocabulary-model.md:Decided on 2026-10-30, recorded as premises:
mul.tomlandund.tomlare excluded, andmul.tomlstays as it is, with an Open on migrating its words later;vidrops English credentials, accepted in principle.The 2026-10-28
parser_for(..., strict=True)argument over the whole choice stands. Everything else in the API is proposed, not decided.Measured on 2026-10-31, master
b577e9a8, using only the cached local corpora. The simulation runs the shippedchooseandcompile_readingsover the chosen and native-script index rows, applied as a choice's delta is. Records are scored box by box withlocal_agreement.read. ORCID records whose given box opens with a title word are left out, because ORCID has no title box.viReading the table:
two_family_names, in the choice and strict alike.de45 andvan39 of 124 breaks, BRjunior62 of 99.leand Dutchvanhappen to land on that box.Other results:
vanchain. In ORCID VN, of 802 records withvanbefore the last word, agreement goes 479 → 583. In PSC VN, under strict + en, it goes 62 → 147.vimoves 865 of 1,499 Vietnamese filers off their boxes, mostly overMr/Ms/Mrs/Miss; strict + en moves 36. In ClinicalTrials.gov, among 5,686 distinct Korean-surnamed officials' names, strictkoreads a credential as the given name 3,569 times; strict + en never does.drandprof(bareDr;Dr.stays a title by its period), and every English-context population loses the salutations. cs and sk loseing, pt losesjunior, es loses Catalani.sultanunderar(its given reading is in tr.toml),da/dounderpt, and the generationstthatcs,hr,skandslturn on (Novák, Stloses its suffix-or-name report). No credential acronym is ungated today; that holds only while name readings are added to more files rather than moved.API recommendations (proposed, for review):
strict=True, and raise on a strict call that chooses no language;locales.choose(*tags)for a bare choice;[rules]patches,given_namesandsurnamesuntouched;The candidates follow-ups, each in its own PR and none taken here, are:
nl's prepositions andsushrias data;ôngandbàstay excluded.Checks:
parser_for. Its two rounds found 10 and then 2 defects, all fixed. They covered unmarked superseded passages, the decided/proposed status ofstrict=True, per-word counts, the claim that a word is read by "position alone" (shapes still act), the mul.toml note figures, the Korean-surname mechanism, and the dating of the kept evidence.850dc1c8. A second review confirmed those and found that the ungated-word comparator missed readings a choice turns on (st,nic); that is fixed in45a213d8, which also dates the credential claim. The main ones: the no-harm claim, now limited to credentials; stacked credentials do not survive (Minh Do, M.D., Ph.D.→ givenM.D.); ctgov figures are now distinct names; the plainnlchoice'sIn Hwancost is carried over; and the 3esushrihead is marked superseded.🤖 Generated with Claude Code