PHP Classes
elePHPant
Icontem

Detect Gender Hanzi: Detect the gender of name in Hanzi (Kanji) script

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-07-15 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 41 All time: 9,066 This week: 662Up
Version License PHP version Categories
gender-hanzi 1.0.0GNU General Publi...5PHP 5, Text processing, Artificial in...
Description Author

This class can detect the gender of name in Hanzi (Kanji) script.

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

The classes determintes gender by comparing the result sum of character weights and compares it to known threshold values.

  Performance   Level  
Name: Peter Kahl <contact>
Classes: 32 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 6584 in Hong Kong Hong Kong
Week rank: 29 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 19x

Details

Gender Hanzi

Detects gender of name in Hanzi (Kanji) script.

Usage

use peterkahl\GenderHanzi\GenderHanzi;

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

Acknowledgement

This program is a rework of a script by Wudi, which can be found at <http://blog.wudilabs.org/tag/genderguesser/>.

  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 GenderHanzi.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:41
This week:0
All time:9,066
This week:662Up