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

Override NormalizeSurname for Polish Culture #555

Merged
merged 2 commits into from
May 14, 2024

Conversation

burtek
Copy link
Contributor

@burtek burtek commented May 14, 2024

@burtek burtek changed the title Override NormalizeSurname for Polsih Culture Override NormalizeSurname for Polish Culture May 14, 2024
Comment on lines +44 to +45
if (sn.EndsWith("nа")) {
sn = sn.Substring(0, sn.Length - 1) + "y";
Copy link
Contributor Author

@burtek burtek May 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the most common case (other than -ska/-cka/-dzka). There are other cases that are not cover by this, but it depends on the whole word rather than ending and would be hard or impossible to account for all possibilities - though if needed, I can imagine those being in future PRs

Copy link
Owner

@Serg-Norseman Serg-Norseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Serg-Norseman Serg-Norseman merged commit 2195eb8 into Serg-Norseman:master May 14, 2024
@burtek burtek deleted the patch-1 branch May 14, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: Frequency of names report: Consider surnames in male and female forms as same
2 participants