Repository navigation
Description
Brazilian candidates register a ballot name beside their civil name, and the ballot name is very often a familiar form: Paulinho for Paulo, Cida for Aparecida, Tião for Sebastião, Biu for Severino. The shipped familiar forms, generated from ORCID and a few US sources, hold little Brazilian Portuguese.
The source. The Superior Electoral Court's open candidate files (consulta_cand), the columns NM_URNA_CANDIDATO (ballot name) and NM_CANDIDATO (civil name), 1994 to 2024; 463,731 candidates in 2024 alone. Its catalogue entry gives the licence as CC BY. The terms page itself refused the request during the survey, so the licence rests on the catalogue's metadata and is confirmed from the source's own terms before anything is fetched in bulk or shipped. The project already reads the court's donor files as the local corpus tse-donors; this is a different file.
Trial (a survey of familiar-form sources, 2026-11-19; one reader, each sample read once):
| Bar | Pairs | New to the shipped table | Familiar forms in the sample read |
|---|---|---|---|
| ten people or more | 990 | 929 | 46 of 60 (77%) |
| three to nine people | 4,452 at three or more | 4,348 | 37 of 61 (about 61%) |
It is the best yield per reviewed row of any source the survey read: about 715 accepted pairs from the 929 rows at ten people or more.
Proposed generator
- The pair: the ballot name's first word that is no title and is not in the civil name, against the civil given word it most plausibly stands for, tried in order: the same first letter and the familiar form's last three letters inside it; the same first letter; the last three letters inside it; the first given word.
- Left out:
júnior,juninhoand epithets (nego,negão,carioca,amigo), by a stop list, and whatever the default lexicon reads as a title. - The bar: ten people or more to start; earlier elections are folded in to raise counts, the bar is not lowered.
- Review: two readers, as decisions/name-matching's 2026-11-13 entry sets out, the accepted rows going into
tools/vocab/familiar_reviewed.tsvunderpt-BR. - Licence handling: the counts are the project's own measurements, so the pairs are credited and add nothing to the licence expression (decisions/shipped-data-licences, FACTS WE MEASURE), once the terms are confirmed.
Questions
- Do the pairs go under
pt-BRalone, orptwhere Portugal's names use the same form? Nothing held measures Portugal. - Is a ballot name that is a different name altogether (a religious or professional byname) kept out by the rule above, or does it need a second filter? The false pairs in the sample were not classed.
- A change to the familiar table moves no parse; it is measured with
tools/differential/match_diff.py --base, whose draw holds few Brazilian pairs. Which population measures it?
Related: #1387 (the Wikidata generator for Central and Eastern European forms, built first), decisions/name-matching.
Activity
Fix the review's findings: surname pairs, the kept reading, wholeness…
Read a family name that is no name word as the end of the name, and t…
Re-take #1495's match_diff and population figures on the final tree
Count no single letter or generation as a civil name's family name (#…
Count the removed familiar rows right in #1495's entry
Add Brazilian Portuguese familiar forms from Brazil's ballot names (#…