Gender-Cyrillic: Detect the gender of name in Cyrillic script

Recommend this page to a friend!
  Info   Documentation   View files (4)   Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-10-15 (9 months ago) Not yet rated by the usersTotal: 74 All time: 9,617 This week: 211
Version License PHP version Categories
gender-cyrillic 1.0.2Custom (specified...5PHP 5, Text processing, Language, Art...
Description Author

This class can detect the gender of name in Cyrillic script.

It takes a given name of a person that uses Cyrillic characters and attempts to detect the gender from the sum of characters.

The classes determines gender by using regular expressions to match common name patterns.

Picture of Peter Kahl
  Performance   Level  
Name: Peter Kahl <contact>
Classes: 37 packages by
Country: United Kingdom
Age: ???
All time rank: 46522 in United Kingdom
Week rank: 48 2 in United Kingdom
Innovation award
Innovation award
Nominee: 23x

Winner: 2x


Gender Cyrillic

Detects gender from person's name in Cyrillic script.


use peterkahl\GenderCyrillic\GenderCyrillic;

echo GenderCyrillic::getGender('????????'); # M

echo GenderCyrillic::getGender('??????');   # F
File Role Description
src (1 file)
composer.json Data Auxiliary data
LICENSE Lic. License text Doc. Documentation

  Files  /  src  
File Role Description
   GenderCyrillic.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,617
This week:211

For more information send a message to info at phpclasses dot org.