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

Hyphenated lastname support #2

Open
georgthegreat opened this issue Jan 15, 2022 · 1 comment
Open

Hyphenated lastname support #2

georgthegreat opened this issue Jan 15, 2022 · 1 comment

Comments

@georgthegreat
Copy link

In Cyrillic we have many double lastnames.

This includes some simple cases such as:

  • Петров-Водкин
  • Бестужев-Марлинский

Female lastname also can be double, but I can not remember any famous one at the time.

These can be handled by naive code: split the lexem by hyphen, translate each part, join back with hyphen.
However, this becomes nasty with exceptions, including Бонч-Бруевич, Мамин-Сибиряк, Муравьёв-Апостол.
Can this be supported by pytrovich rules model?

Here is the list of the most famous names.

@alexeyev
Copy link
Collaborator

Hi Yuriy, fair point, thanks!

Will try to find the time to look into it; meanwhile, pull requests are welcome.

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

No branches or pull requests

2 participants