Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AGENTS.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ the patronymic in Russian. See `Locale packs
>>> ivan.given, ivan.patronymic, ivan.family
('Иван', 'Петрович', 'Сидоров')
>>> locales.available() # every pack that ships
('ar', 'bn', 'cs', 'es', 'es_ar', 'ga', 'gd', 'he', 'hi', 'hr', 'ja', 'mn', 'my', 'ne', 'nl', 'pt', 'pt_br', 'ru', 'sk', 'sl', 'tr_az', 'vi', 'zh')
('ar', 'bn', 'cs', 'es', 'es_ar', 'ga', 'gd', 'he', 'hi', 'hr', 'ja', 'mn', 'my', 'ne', 'nl', 'pt', 'pt_br', 'pt_pt', 'ru', 'sk', 'sl', 'tr_az', 'vi', 'zh')

When a reading is wrong for your data
-------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/customize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1065,8 +1065,8 @@ taken:
If you know your data's language, choose it rather than editing the
words one at a time: a chosen language's connective is a connective
even in a name written in one case, and the fork is no longer reported.
For Portuguese ``e``, use the ``pt`` pack (``locales.PT_BR`` reads it the
same way):
For Portuguese ``e``, use the ``pt`` pack (``locales.PT_BR`` and
``locales.PT_PT`` read it the same way):

.. doctest::

Expand Down
66 changes: 62 additions & 4 deletions docs/design/decisions/O6-two-family-names.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion docs/design/decisions/S11-suffix-word-that-is-also-a-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- The floor holds before a generation word's case: a lower-case `fils` in a mixed-case name is the generation only where the name keeps a family word, so `Dumas fils` and `Pedro Jnr fils` read family 'fils' — 2026-10-25 (Derek), #890, THE FLOOR (its example re-spelled 2026-11-03 #1039, `Pedro Junior fils` reading family 'Junior', suffix 'fils' since Junior is a name too).

- The abbreviations Brazilian filings write for the agnomens are agnomen spellings `same_as` their word, gated as it is: `fh`, `fo`, `filh` (filho), `net`, `nt` (neto), `sob`, `sobr` (sobrinho), each with a `family` reading, counted or declared, so that a name of two words keeps it (`Ana Fo` → family 'Fo'); `fil` is refused on the word, `sb` is read only under a Brazilian Portuguese choice, and the single letters `F` and `N` are left to read as the name word they are written as, an initial or, ending the name, the family (`JOSE CARLOS SILVA F` → family 'F'), under that choice too — 2026-10-27 #843; 2026-10-30 #753, phase 3h.
- The abbreviations Brazilian filings write for the agnomens are agnomen spellings `same_as` their word, gated as it is: `fh`, `fo`, `filh` (filho), `net`, `nt` (neto), `sob`, `sobr` (sobrinho), each with a `family` reading, counted or declared, so that a name of two words keeps it (`Ana Fo` → family 'Fo'); `fil` is refused on the word, `sb` is read only under a Brazilian Portuguese choice, and the single letters `F` and `N` are left to read as the name word they are written as, an initial or, ending the name, the family (`JOSE CARLOS SILVA F` → family 'F'), under that choice too, where `locales.PT_BR` reads two family names and so takes the word before it into the family (family 'SILVA F') — 2026-10-27 #843; 2026-10-30 #753, phase 3h; 2026-11-19 #1453.

- King's Counsel is a credential listed as a word (`kc`, `acronym = false`), gated by its name readings as a generation word is, so the Nepali surname KC keeps the family where the name has no word to spare (`Ram KC`) or writes it in Title case (`Gita Bahadur Kc`), and its dotted spelling stays #864's paired initials (`Gita Bahadur K.C.`); the costs are accepted: `Gita Bahadur KC` reads suffix 'KC', `Lord Doe KC` family 'KC', and a family comma's given part ending in initials written KC reads them as the credential (`DOE, JANE KC`); the Privy Counsellor's `pc` and the Deputy Lieutenant's `dl` are credentials written as words in the same shape, initials being written that way too, so `Jane Doe, DL` reads the suffix and `Ravi PC` and `Anna DL` keep the family, the dotted `P.C.` and `D.L.` reading as master read them — 2026-10-30 #965.

Expand Down Expand Up @@ -38,3 +38,4 @@ Open: none in this file.
ACCEPTED BY THIS CHANGE, NOT YET PUT TO A DECISION. A name of two words ending in Junior keeps it as the family name where the writer meant a given name and the generation with no surname written (`Fabio Junior`, `ADELSON JUNIOR`). In front of another suffix word that is also a name Junior is a name word, as Neto is in `Pedro Neto Filho`, so the word behind it is the suffix and Junior the family name: `Pedro Junior Filho` reads family 'Junior', suffix 'Filho', `Pedro Junior fils` family 'Junior', suffix 'fils', `Pedro Junior Filho, MD` suffix 'Filho, MD', `Pedro Junior do Filho` suffix 'do Filho', and `Pedro Junior Ma Filho` middle 'Junior', family 'Ma', where 1.4.0 through 2.8.1 read middle 'Junior' (middle 'Junior Ma' for `Pedro Junior Ma Filho`) with the agnomen or `fils` the family name. The 2026-10-25 (Derek), #890 entry's examples and THE FLOOR's were written with Junior; they are re-spelled with `Jnr`, a generation word with no name reading, which reads as Junior did (`Pedro Jnr Filho` → family 'Filho'), and the case rows and S7's and S11's examples likewise. A Brazilian surname written with its generation before a comma joins the family (`BRITO JUNIOR, RAIMUNDO C` → family 'BRITO JUNIOR'). A comma credential the vocabulary does not list behind a name of two or more words ending in Junior takes it into the family name, where the base already reversed the name (`JOSE ROBERTO DA SILVA JUNIOR, DOCTORATE` → family '… JUNIOR', given 'DOCTORATE'). A bracketed Junior is the nickname, as `(Neto)` is (rules/S13; `John Smith (Junior)` → nickname 'Junior', 5 psc-individuals names). And a period-marked Junior opening the given part after a family comma is a title by rules/H2's shape, as `Smith, Neto.` and `Smith, Fils.` are, where 2.2.0 through 2.8.1 read the suffix (`Smith, Junior.` → title 'Junior.', as 2.0.0 and 2.1.0 read it, 1.4.0 the title with no family name); no corpus name writes it so.
MEASURED (2026-11-03, `tools/differential/measure.py --base` against master 39839b91, on the change before review; the review re-ran it on the committed tree through ctgov-officials, identically). Committed snapshot: the rules' and case table's Junior names only (9 entries). The CLDR, GND and Wikidata records do not move. Local snapshots, entries that differ, nearly all a new `suffix-or-name` report alone: tse-donors 14,839 (14,763 a report alone; 38 two-word names gaining family 'JUNIOR', 8 trailing words a registry appended moving Junior into the family, 3 `X JUNIOR FILHO`/`NETO`), jrc-names 391 (177 two-word names, `Fabio Junior` → family 'Junior'), orcid-researchers 505 (441 a report alone), patentsview-inventors 212 (211), psc-individuals 97 (86; `Mr Oliver Junior` → given 'Oliver', family 'Junior', 4, and the bracketed Junior, 5), ctgov-officials 87 (77; 7 `… Junior, Médico`-shaped comma names, above; 3 where `Junior` names a post opening the part after a comma, `Rune Broni Strandby, Junior researcher` → given 'Junior', and `Pauline PL LUDWIG, Doctor junior` → given 'junior'), fec-individuals 61 (29 `SURNAME, JUNIOR` names and 13 more with Junior opening the given part, 42 gaining the given name, the thirtieth, `ABREU RODRIGUEZ, JUNIOR`, among the reports alone; 9 `BRITO JUNIOR, RAIMUNDO`; 10 a report alone); cz-candidates, dof-signatures, govuk-people, nepal-candidates, tw-donors and ukec-individuals none. Agreement with the filed boxes: orcid-researchers 9 records progress, 4 regress, 3 change; psc-individuals 5 progress, 1 regresses, 5 change; patentsview-inventors and cz-candidates no move; jrc-names one person more read alike, tse-donors one pair apart. Pinned by the case rows `junior_after_a_family_comma_is_the_given_name`, `junior_alone_after_a_family_comma_is_the_given_name`, `junior_in_title_case_with_a_word_to_spare_is_the_suffix`, `junior_with_no_word_to_spare_is_the_family_name`, `junior_ending_the_given_part_after_a_family_comma`, `a_junior_in_front_of_an_agnomen_is_a_name_word` and `a_dotted_junior_opening_the_given_part_is_a_title`, `tests/v2/test_lexicon.py`'s `test_a_generation_word_that_is_a_name_leans_by_case_only_when_told`, and three build-check mutations. A 2.x `Lexicon` holding a word in `suffix_words_ambiguous` that is not an agnomen translates to a generation reading written `title_case_is_name`, the lean 2.x gave every such word, and the refusal naming the 3.0 call says so. Recompute: the command above against a checkout of 39839b91, and the three listings as `config_diff.py diff` expressions over `--local all --match '(?i)\bj[uú]nior\b'`.
- 2026-11-16 #1230 — THE DOTTED-SHAPE EXAMPLES OF THE 2026-10-25 #752 LINE NO LONGER READ AS WRITTEN. The line's decision stands (a suffix word that is also a name makes no chunk claim inside a word with interior periods), but rules/T8 (decisions/T8, #1230, #1235) now divides an initial glued to the word at its full stop before any comma, before it is read, so `Pedro M.Filho` reads family 'M.', suffix 'Filho' where the line said family 'M.Filho', and `Pedro Alves M.Filho` middle 'Alves', family 'M.', suffix 'Filho' where it said suffix 'M.Filho'. After a comma, and for a word its own stop closes, the dotted-shape reading still acts (`Smith, Pedro M.Filho` → suffix 'M.Filho', `Silva, M.Filho` → given 'M.Filho', `Pedro Alves M.Filho.` → suffix 'M.Filho.'). The Standing line carries the readings now; found by the 3.1 release sweep.
- 2026-11-19 #1453 — `locales.PT_BR` READS TWO FAMILY NAMES, SO A LETTER ENDING THE NAME TAKES THE WORD BEFORE IT. Nothing this file decided moves: `F` and `N` stay out under the pack and read as the name word they are written as. But the pack turns on rules/O6 (decisions/O6, 2026-11-19), which takes the name word before the family, so `JOSE CARLOS SILVA F` reads family 'SILVA F' where it read 'F', and `Pedro Alves N.` family 'Alves N.'; behind a listed given name the letter is the family alone, as before (`JOSE CARLOS F` → family 'F'; the rule's examples hold both since). The agnomen rows the pack reads (`JOSE CARLOS SILVA SB` → suffix 'SB') do not move: the agnomen is peeled before O6 counts the family.
Loading