Thanks to visit codestin.com
Credit goes to github.com

Skip to content

samurous/namegender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

namegender Build Status Coverage Status

Predict the gender of a name based on statistical data.

Install

pip install namegender

Usage

>>> import namegender
>>> namegender.predict('Otto')
{'name': 'Otto', 'gender': 'male', 'probability': 99.68185288877577, 'samples': 31432}
>>> namegender.predict_list(['Otto', 'Jane'])
[
  {'gender': 'male', 'samples': 31432, 'name': 'Otto', 'probability': 99.68185288877577}, 
  {'gender': 'female', 'samples': 370379, 'name': 'Jane', 'probability': 99.69382713382778}
]

Sources

About

Predict the gender of a name based on statistic data.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages