Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(person): avoid repeated last name via new last_name_patterns #1819

Merged
merged 10 commits into from
Feb 21, 2023
Prev Previous commit
Next Next commit
add fe/male_last_name_patterns to person definitions
matthewmayer committed Feb 17, 2023
commit 61f4d4c08357352e9acf485cdc45037f751a55b2
2 changes: 2 additions & 0 deletions src/definitions/person.ts
Original file line number Diff line number Diff line change
@@ -34,6 +34,8 @@ export type PersonDefinitions = LocaleEntry<{
* A weighted list of patterns used to generate last names.
*/
last_name_patterns?: Array<{ value: string; weight: number }>;
male_last_name_patterns?: Array<{ value: string; weight: number }>;
female_last_name_patterns?: Array<{ value: string; weight: number }>;

bio_patterns?: string[];