pytrovich icon indicating copy to clipboard operation
pytrovich copied to clipboard

Python3 port of Petrovich, an inflector (and gender detector) for Russian anthroponyms

Results 3 pytrovich issues
Sort by recently updated
recently updated
newest added

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...

Код ниже вызывает исключение `StopIteration`: ```python gender_detector = PetrovichGenderDetector() gender = gender_detector.detect(middlename='Блаблабла') ``` Думаю в таком случае метод `detect` должен возвращать `Gender.ANDROGYNOUS`

This PR adds github CI tests workflow and some unit test. That allows to be shure that the lib works in different environments (python versions and different os). features: -...