Avatar ·

Determination of the floor by name

📁 помощь

Tell me, please, the algorithm for determining the floor by name. Maybe there are any solutions on the python? I tried: 1-to the ends; 2-С Pymorphy broke up the name of the word and determined the family of each word. Are there any other libraries or maybe an algorithm? Full name can be not only Russians.