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
{{ message }}
Repository navigation
Should Portugal read Maria da Conceição as a given name, where the pooled P10 bar leaves it out? (Maria da Conceição Caldeira gives family da Conceição Caldeira) #1189
locale-packsLocale packs and language choices (nameparser.locales)particlesParticles and surname prefixes (rules/P)vocabularyFixed by a word-list entry: per-word vocabulary and language packs
Portuguese women's names often complete Maria with a Marian title behind a particle. P10 (a given name a particle completes) reads some as middle names, and leaves the rest to read as the start of the family (measured on master ccaf6ad, default and locales.PT alike):
Input
middle
family
Maria de Fátima Costa
de Fátima
Costa
Maria das Graças Silva
das Graças
Silva
Maria da Conceição Caldeira
''
da Conceição Caldeira
Maria do Rosário Carneiro
''
do Rosário Carneiro
Maria da Assunção Esteves
''
da Assunção Esteves
Maria das Mercês Borges
''
das Mercês Borges
Maria de Belém Pina
''
de Belém Pina
Maria da Luz Rosinha
''
da Luz Rosinha
This is decided, not missed: decisions/P10's #1118 entry lists rosário (84 to 53), assunção (32 to 25), conceição (302 to 344) and luz among the words left out, under a bar pooled over ORCID's countries, and #1122 chose pooling on purpose.
Measured in Portugal (2026-11-08):
Assembleia da República (OpenSanctions pt_parliament, 1,124 deputies, each with the full name and the shorter parliamentary name they use): 14 deputies keep one of these words in their parliamentary name, and all 14 keep it in the given part (Conceição Bessa Ruão, Rosário Águas, Assunção Esteves, Maria do Rosário Carneiro). None uses it as a surname.
ORCID by country, with config_diff.py score (cap 20,000 records a group), marking conceição, rosário, assunção, luz, mercês and belém as P10's words are marked (add(w, kind="given", after_particle=True)):
ORCID group
records
fixed / broken
PT
19,460
28 / 5 (85%)
BR
19,008
0 / 0
On Portugal's records the six clear P10's bar (75% fixed, ten names or more). Brazil's records don't move, though the agreeing share fell 0.05 points there, so a few moved to a reading that matches neither box.
The question
Should Portugal get the readings Brazil doesn't? A default = false reading in pt.toml would not stay in Portugal: locales.PT_BR chooses pt-BR, which selects pt too. So it would take one of:
a pt-PT file, chosen by a Portugal pack (locales.PT choosing pt-PT), holding these readings default = false;
a country cut of the bar, so a word that passes in one country's records is on for that country's choice;
or leaving it, with the pooled bar as decided.
Notes for whoever measures
The score above is the six words together; each word's own fixed/broken is the number the bar reads, so it wants a run per word.
ó (Pedro do Ó Ramos, Nossa Senhora do Ó) is the same shape, but ó is an Irish clan particle in ga.toml, so it would need its own look.
jesus takes the slot too (Teresa de Jesus Costa Santos), but both deputies in the list drop it from their parliamentary name, so the list says nothing about it.
Taken for 3.2 (2026-11-19). The first option above is now open: #1481 added nameparser/vocab/pt-PT.toml and locales.PT_PT, so a reading can be on for Portugal's choice alone.
New counts, on names as written (tse-donors, 854,531 Brazilian names, the two words after the first where they are a particle and a word): DE FATIMA 2,117, DO SOCORRO 890, DE CASSIA 807 and DE LOURDES 758 read as the given name already; DE JESUS 2,914 and DO CARMO 1,007 do not. On master 25423c53, default and locales.PT_BR alike:
Maria do Carmo Souza Lima → family 'do Carmo Souza Lima'
Maria da Conceição Souza Lima → family 'da Conceição Souza Lima'
Maria das Dores Souza Lima → family 'das Dores Souza Lima'
Maria da Penha Souza Lima → family 'da Penha Souza Lima'
Maria do Rosário Souza Lima → family 'do Rosário Souza Lima'
ORCID's Brazilian boxes did not move in the measurement above (0 fixed, 0 broken), so Brazil wants its own measure on a list that writes these names, the donors' among them, where there are no boxes to score and the moves are read.
To measure, a word at a time:conceição, rosário, assunção, luz, mercês, belém (the six above), and carmo, dores, penha, jesus; each as a pt-PT reading, a pt-BR one, or both, by its fixed and broken in that country's records. jesus is a surname too (de Jesus after one given name), and ó clashes with the Irish particle; each wants its own look, as the notes above say.
Decided 2026-11-19: Portugal gets its own readings, three words, in pt-PT.toml. Nothing for Brazil.
Measured the same day on master 12b568f8: each word marked as P10's words are (add(w, kind="given", after_particle=True), the accented and plain spellings), under locales.PT_PT on Portugal's ORCID records (19,465) and under locales.PT_BR on Brazil's (19,013), every box agreeing, fixed and broken:
Word
Portugal
Brazil
rosário
15 / 1
0 / 0
jesus
16 / 1
9 / 21
carmo
9 / 2
6 / 2
conceição
10 / 4
2 / 10
nazaré
3 / 0
1 / 1
assunção
2 / 0
0 / 0
luz
2 / 0
0 / 2
anjos
1 / 0
0 / 5
dores
1 / 0
0 / 0
mercês, belém, penha
0 / 0
0 / 0
The counts differ from the 28 / 5 above: the Portugal pack reads two family names since #1481, and these are a word at a time.
Portugal's readings go in pt-PT.toml, default = false, chosen by locales.PT_PT. locales.PT_BR chooses pt-BR, which does not select that file. The two countries differ in fact: Jesus and Conceição behind a first name are given names in Portugal and mostly surnames in Brazil.
rosário, jesus and carmo are listed: each clears P10's bar in Portugal (ten names moved, 75% fixed) at 94%, 94% and 82%.
conceição is left out, a near miss at 10 / 4 (71%); the bar is not bent for a word. nazaré, assunção, luz, anjos and dores move too few names to judge, and mercês, belém and penha none.
Nothing for Brazil: no word clears the bar there; carmo is 6 / 2 on 8 names.
About 40 names fixed and 4 broken in Portugal's records, 0.2 points. ó is not part of this.
Decided 2026-11-19, replacing the word list above: scored on the whole ORCID extract, as P10's bar says, four words ship. The capped corpus (about 19,000 records) understated the surname use of jesus and held too few conceição and luz names.
Portugal's whole extract, 100,973 records, 508 holding such a phrase, under locales.PT_PT, fixed / broken:
Word
Capped
Whole extract
Bar (75%, ten names)
rosário
15 / 1
41 / 2
passes, 95%
carmo
9 / 2
48 / 7
passes, 87%
conceição
10 / 4
53 / 11
passes, 83%
luz
2 / 0
12 / 2
passes, 86%
jesus
16 / 1
40 / 17
fails, 70%
nazaré
3 / 0
5 / 0
too few
rosário, carmo, conceição and luz are listed under pt-PT; jesus is left out. Nothing for Brazil, whose whole-extract figures are re-taken in the change.
locale-packsLocale packs and language choices (nameparser.locales)particlesParticles and surname prefixes (rules/P)vocabularyFixed by a word-list entry: per-word vocabulary and language packs
Activity
derek73 commentedon Nov 19, 2026
Taken for 3.2 (2026-11-19). The first option above is now open: #1481 added
nameparser/vocab/pt-PT.tomlandlocales.PT_PT, so a reading can be on for Portugal's choice alone.New counts, on names as written (
tse-donors, 854,531 Brazilian names, the two words after the first where they are a particle and a word):DE FATIMA2,117,DO SOCORRO890,DE CASSIA807 andDE LOURDES758 read as the given name already;DE JESUS2,914 andDO CARMO1,007 do not. On master25423c53, default andlocales.PT_BRalike:ORCID's Brazilian boxes did not move in the measurement above (0 fixed, 0 broken), so Brazil wants its own measure on a list that writes these names, the donors' among them, where there are no boxes to score and the moves are read.
To measure, a word at a time:
conceição,rosário,assunção,luz,mercês,belém(the six above), andcarmo,dores,penha,jesus; each as apt-PTreading, apt-BRone, or both, by its fixed and broken in that country's records.jesusis a surname too (de Jesusafter one given name), andóclashes with the Irish particle; each wants its own look, as the notes above say.derek73 commentedon Nov 19, 2026
Decided 2026-11-19: Portugal gets its own readings, three words, in
pt-PT.toml. Nothing for Brazil.Measured the same day on master
12b568f8: each word marked as P10's words are (add(w, kind="given", after_particle=True), the accented and plain spellings), underlocales.PT_PTon Portugal's ORCID records (19,465) and underlocales.PT_BRon Brazil's (19,013), every box agreeing, fixed and broken:rosáriojesuscarmoconceiçãonazaréassunçãoluzanjosdoresmercês,belém,penhaThe counts differ from the 28 / 5 above: the Portugal pack reads two family names since #1481, and these are a word at a time.
pt-PT.toml,default = false, chosen bylocales.PT_PT.locales.PT_BRchoosespt-BR, which does not select that file. The two countries differ in fact:JesusandConceiçãobehind a first name are given names in Portugal and mostly surnames in Brazil.rosário,jesusandcarmoare listed: each clears P10's bar in Portugal (ten names moved, 75% fixed) at 94%, 94% and 82%.conceiçãois left out, a near miss at 10 / 4 (71%); the bar is not bent for a word.nazaré,assunção,luz,anjosanddoresmove too few names to judge, andmercês,belémandpenhanone.carmois 6 / 2 on 8 names.About 40 names fixed and 4 broken in Portugal's records, 0.2 points.
óis not part of this.derek73 commentedon Nov 20, 2026
Decided 2026-11-19, replacing the word list above: scored on the whole ORCID extract, as P10's bar says, four words ship. The capped corpus (about 19,000 records) understated the surname use of
jesusand held too fewconceiçãoandluznames.Portugal's whole extract, 100,973 records, 508 holding such a phrase, under
locales.PT_PT, fixed / broken:rosáriocarmoconceiçãoluzjesusnazarérosário,carmo,conceiçãoandluzare listed underpt-PT;jesusis left out. Nothing for Brazil, whose whole-extract figures are re-taken in the change.Read Portugal's own given names behind a particle under locales.PT_PT (…