NobilityTitleGenerator generator¶
Generate locale-aware nobility titles from the configured dataset.
Why: Use NobilityTitleGenerator when locale-specific person fixtures deliberately model rare nobility titles; omit it when the business schema has no title concept.
Category: person.
Output: str | null.
1 | |
Parameters¶
dataset:str | null; DefaultNone— Country dataset supplying locale-specific nobility titles.gender:str | null; DefaultNone— Optional gender category used to select matching titles.noble_quota:float | null; DefaultNone— Probability that a row receives a nobility title instead of no value.