Skip to content

Predict the gender of a name based on statistic data.

License

Notifications You must be signed in to change notification settings

samurous/namegender

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages