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 Hafiz, Haji and Maulana opening a name read as titles under a Bengali or Urdu choice? (Hafiz Ahmed Khan gives given Hafiz) #1469
In Pakistan and Bangladesh a religious honorific is written before the name: Hafiz (one who knows the Quran by heart), Qari (reciter), Maulana/Moulana, Mufti (listed already), Haji/Alhaj. Today all but Mufti read as the given name (master 3175314d):
Input
reading
Hafiz Ahmed Khan
given 'Hafiz', middle 'Ahmed', family 'Khan'
Qari Ahmed Khan
given 'Qari'
Moulana Ahmed Khan
given 'Moulana'
Mufti Ahmed Khan
title 'Mufti'
The names are invented.
How often (2026-11-19). A Pakistani official list of 5,189 persons opens with Hafiz 88 times, Haji 22 and Qari 20. Pakistan's National Assembly and Senate (OpenSanctions pk_na_members and pk_senate_members, 427 members) hold Moulana 2 and Haji 2. Bangladesh's parliament (347 members) holds Hafez/Hafiz 2 and Alhaj/Alhajj 2.
The cost side.Hafiz is also a given name, which puts it in the class rules/H9 (a title that is also a given name) decides word by word; its count as a given name in ORCID's boxes has not been taken. Haji and Hafez are surnames too.
Open
Which of these are titles everywhere, which only under a ur or bn choice, and which only inside a phrase?
Should Syed, Mian, Sardar, Chaudhry and Makhdoom stay given names? ORCID's holders file Syed in the given box, so today's reading matches them.
Taken for 3.2 (decided 2026-11-19), as a measured vocabulary batch. Each word is decided by its counts, as rules/H9's batches are: Qari, Maulana/Moulana, Alhaj/Alhajj as candidates for plain titles; Hafiz/Hafez and Haji, borne as names too, by their given-name and surname counts in the boxes (a title only inside a phrase, or left out). Syed, Mian, Sardar, Chaudhry and Makhdoom stay as they read unless the counts say otherwise.
Decided 2026-11-19, on the measured counts (master 34771e2d).
Default titles:qari, alhaj, alhajj and moulana. No scored group moves more than 0.01 points.
Left out, for a language choice that is not built:hafiz, hafez, haji and maulana. Each is the title on Pakistani, Malaysian and Indian lists and a given name elsewhere (ORCID's given boxes: hafiz 2,300, 600 of them Pakistani; maulana 971, 531 of them Indonesian, and all 18 records opening with it file it as the given name; haji in Tanzania, Ethiopia and Azerbaijan; hafez in Iran and Egypt). hafiz as a default title would move 630 corpus names and lower PSC's Pakistani agreement from 94.27% to 93.35%.
Stay name words:syed, mian, chaudhry and makhdoom, by their counts.
Open after the change: whether an Urdu or Bengali pack is built for the four. The evidence held is about 130 names in 5,189 on one Pakistani official list.
Correction to the comment above (2026-11-19): a Bengali pack exists, locales.BN; no Urdu pack does. So the four words left out could be carried by locales.BN for Bangladeshi names without a new pack, while Pakistani names, where most of the evidence is (88 Hafiz, 22 Haji on the Pakistani list against 2 and 2 in Bangladesh's parliament), would still want an Urdu one. The decision stands as made: the four are left out of this change. The open question is two: whether locales.BN takes them, measured on Bangladeshi names, and whether an Urdu pack is built.
changed the title [-]Should `Hafiz`, `Qari` and `Maulana` opening a name read as titles? (`Hafiz Ahmed Khan` gives given `Hafiz`)[/-][+]Should `Hafiz`, `Haji` and `Maulana` opening a name read as titles under a Bengali or Urdu choice? (`Hafiz Ahmed Khan` gives given `Hafiz`)[/+]on Nov 21, 2026
Decided 2026-11-21: neither a locales.BN change nor an Urdu pack is built for hafiz, hafez, haji and maulana. Closing as not planned.
Measured the same day on master 81a24221. Each name is counted where the word opens it, after any listed title (Mr, Dr). The names below are invented.
A. Bangladeshi names under locales.BN, with the four added as titles
Source
Records
Open with one of the four
Fixed
Broken
ORCID, Bangladesh
20,000
3
0
2
PSC, Bangladeshi nationality
3,374
3
0
3
PatentsView, Bangladesh
191
0
0
0
Bangladeshi lists hold almost none of the four words, so the pack has nothing to gain.
B. Pakistani names, the default with the four added as titles
Source
Records
Open with hafiz
Open with haji
Agreement with the filed boxes
ORCID, Pakistan
20,000
161
4
93.60% → 92.94%
PSC, Pakistani nationality
16,532
174
4
94.24% → 93.29%
PatentsView, Pakistan
676
3
0
99.11% → 98.67%
National Assembly and Senate
425
1
3
all 4 gain
People who file their own name treat the word as part of it. Of the 178 PSC filers, none typed it in the title box; every one typed it in the forename box, most with Mr in the title box.
Some would lose their only given name. In 17 records the forename box holds the word alone (Hafiz / Rahman), so the title reading leaves no given name.
Only the parliament's list writes it as a title, 4 names. hafez and maulana open no Pakistani name in any of the four sources.
A pack would carry little else.syed, mian, chaudhry and makhdoom stay name words by their counts (decided 2026-11-19); rana, malik and khawaja are clan names or surnames; sahibzada and nawabzada open 10 names across the four sources.
Why this is declined. Whether Hafiz is a title depends on who wrote the list: an official roll writes it as an honorific, and the person filing their own name writes it as their name. That is a convention of the data, which a caller declares:
fromnameparserimportParser, Lexiconparser=Parser(lexicon=Lexicon.default().add("hafiz", kind="religious"))
parser.parse("Hafiz Ahmed Khan") # title 'Hafiz', given 'Ahmed', family 'Khan'
locales.MS already reads haji as a title (#1180, #1514). The default titles decided on 2026-11-19 (qari, alhaj, alhajj, moulana) stand.
Activity
derek73 commentedon Nov 19, 2026
Taken for 3.2 (decided 2026-11-19), as a measured vocabulary batch. Each word is decided by its counts, as rules/H9's batches are:
Qari,Maulana/Moulana,Alhaj/Alhajjas candidates for plain titles;Hafiz/HafezandHaji, borne as names too, by their given-name and surname counts in the boxes (a title only inside a phrase, or left out).Syed,Mian,Sardar,ChaudhryandMakhdoomstay as they read unless the counts say otherwise.derek73 commentedon Nov 20, 2026
Decided 2026-11-19, on the measured counts (master
34771e2d).qari,alhaj,alhajjandmoulana. No scored group moves more than 0.01 points.hafiz,hafez,hajiandmaulana. Each is the title on Pakistani, Malaysian and Indian lists and a given name elsewhere (ORCID's given boxes:hafiz2,300, 600 of them Pakistani;maulana971, 531 of them Indonesian, and all 18 records opening with it file it as the given name;hajiin Tanzania, Ethiopia and Azerbaijan;hafezin Iran and Egypt).hafizas a default title would move 630 corpus names and lower PSC's Pakistani agreement from 94.27% to 93.35%.givenreading beside each title (rules/H9), since no listed phrase holds these words and nothing would move; andhajiunderlocales.MS, which belongs with the Malay honorifics in Read the Malaysian styles, ranks and service designations #1514 left (YB,ASP,Laks. Muda,TUDM) #1180.syed,mian,chaudhryandmakhdoom, by their counts.Open after the change: whether an Urdu or Bengali pack is built for the four. The evidence held is about 130 names in 5,189 on one Pakistani official list.
derek73 commentedon Nov 20, 2026
Correction to the comment above (2026-11-19): a Bengali pack exists,
locales.BN; no Urdu pack does. So the four words left out could be carried bylocales.BNfor Bangladeshi names without a new pack, while Pakistani names, where most of the evidence is (88Hafiz, 22Hajion the Pakistani list against 2 and 2 in Bangladesh's parliament), would still want an Urdu one. The decision stands as made: the four are left out of this change. The open question is two: whetherlocales.BNtakes them, measured on Bangladeshi names, and whether an Urdu pack is built.Read Qari, Moulana, Alhaj and Alhajj opening a name as titles (#1469) (…
Merge master into fix/issue-1072-backward-pairs (#1469, #1452)
[-]Should `Hafiz`, `Qari` and `Maulana` opening a name read as titles? (`Hafiz Ahmed Khan` gives given `Hafiz`)[/-][+]Should `Hafiz`, `Haji` and `Maulana` opening a name read as titles under a Bengali or Urdu choice? (`Hafiz Ahmed Khan` gives given `Hafiz`)[/+]Read the Malaysian honours Datuk, Dato', Datin and Hajah as titles, a…
derek73 commentedon Nov 22, 2026
Decided 2026-11-21: neither a
locales.BNchange nor an Urdu pack is built forhafiz,hafez,hajiandmaulana. Closing as not planned.Measured the same day on master
81a24221. Each name is counted where the word opens it, after any listed title (Mr,Dr). The names below are invented.A. Bangladeshi names under
locales.BN, with the four added as titlesBangladeshi lists hold almost none of the four words, so the pack has nothing to gain.
B. Pakistani names, the default with the four added as titles
hafizhajiMrin the title box.Hafiz/Rahman), so the title reading leaves no given name.hafezandmaulanaopen no Pakistani name in any of the four sources.syed,mian,chaudhryandmakhdoomstay name words by their counts (decided 2026-11-19);rana,malikandkhawajaare clan names or surnames;sahibzadaandnawabzadaopen 10 names across the four sources.Why this is declined. Whether
Hafizis a title depends on who wrote the list: an official roll writes it as an honorific, and the person filing their own name writes it as their name. That is a convention of the data, which a caller declares:locales.MSalready readshajias a title (#1180, #1514). The default titles decided on 2026-11-19 (qari,alhaj,alhajj,moulana) stand.🤖 Generated with Claude Code
Restore the one-word-path paragraph's history and complete the 3.2 en…
Claim only the provenance the #1469 and #1059 records hold
Sweep the contributor docs for the 3.2 release (#1532)