Repository navigation
Description
What happens today (master, 2026-10-21):
| Input | Reading |
|---|---|
John Smith, Pr |
given Pr, family John Smith |
John Smith, Pr. |
title Pr., given John, family Smith (by rules/H2's shape, not vocabulary) |
Pr Jean Dupont |
given Pr, middle Jean, family Dupont |
Professeur Jean Dupont |
given Professeur, middle Jean, family Dupont |
Jean Dupont, Professeur |
given Professeur, family Jean Dupont |
Profesor Juan Pérez |
given Profesor, middle Juan, family Pérez |
Juan Pérez, Profesor |
given Profesor, family Juan Pérez |
Profesora Ana López |
given Profesora, middle Ana, family López |
pr, professeur, profesor and profesora are in no vocabulary file. The bare Pr is the French abbreviation of Professeur, as Dr is of Docteur; only its period-marked spelling is caught, and only by shape. Unlisted titles after a comma reverse the name, and unlisted titles in front become the given name.
Evidence. From tools/name_usage.py (2026-10-21), using the ClinicalTrials.gov local corpus (#801, study officials as typed by sponsors) and US name data:
| Word | Officials writing it (ctgov) | After a comma | Census 2010 surname | SSA given |
|---|---|---|---|---|
pr |
1,551 (Pr 1,335, Pr. 138, PR 70) | 1,454 | <100 | <5/yr |
profesor |
123 | 122 | <100 | <5/yr |
professeur |
13 | 12 | <100 | <5/yr |
profesora |
1 | 1 | <100 | <5/yr |
Pr is the 27th most common text after a comma in that corpus. None of the four has a name reading in the US data, so the vocabulary-collisions criterion has nothing to weigh against them. Other languages' bearer data were not checked.
Proposal. Add them as academic titles (the kind for a form of address, as prof/professor are in mul.toml): pr and professeur (and the feminine professeure) in fr.toml, profesor and profesora in es.toml (also pt? professor/professora are already covered by professor, so check professora), with same_as between the abbreviation and its word, and gender on the gendered pairs. Check each spelling's leading and after-comma readings, and that Pr. keeps its reading.
Out of scope, for their own questions:
Ass Prof(110 officials) reads givenAss, middleProf, familyJohn Smith, whereAsst ProfandAssoc Profread titles. Addingassas a title word is a collision question of its own, and is not proposed here.- Degree and job words written after a comma (
Bachelor288,Doctorate190,Specialist81,Medicine130) reverse the name the same way. Whether a spelled-out degree belongs in the title or the suffix vocabulary is a separate decision. - Unlisted credentials after a comma are Should "John Smith, FNP-C" read FNP-C as a credential instead of the given name? #797.
Activity
Read Profesor and Profesora as titles by default; turn on Maestra und…
Read père, Pr, Professeur and Professeure by default; a Breton choice…