PHP Classes

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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 86 This week: 1All time: 9,987 This week: 560Up
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: 41721 in United Kingdom
Week rank: 52 Up4 in United Kingdom Up
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

Documentation

Gender Cyrillic

Detects gender from person's name in Cyrillic script.

Usage

use peterkahl\GenderCyrillic\GenderCyrillic;

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

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

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file GenderCyrillic.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:86
This week:1
All time:9,987
This week:560Up