Skip to main content

Guess gender from indian names

Project description

Motivation

I was not able to find a open source library that guess gender from indian names. So made one.

Prerequisites

  • Python 3.7

  • Pipenv

Development - Setup instructions

  • Clone this repository.

  • cd to the repo

  • Activate pipenv pipenv shell

  • Install dependencies pipenv install

  • Fire up a python shell and type the following.

>>> from guess_indian_gender import IndianGenderPredictor
>>> i = IndianGenderPredictor()
>>> i.predict(name="adhi") # returns male

Installation

  • pip install guess-indian-gender

Accuracy

  • Currently the accuracy is 0.88. Any contributions are welcome to improve the accuracy.

Changelog

  • When the last letter is considered as a feature for gender detection the accuracy is 78%.

  • When the last four letters was considered the accuracy became 88%.

Todo

  • [x] Convert to Pip package.

  • [x] Convert to nice oops.

  • [ ] Improve accuracy to 95%.

Dataset credits

License

MIT. See license file for more info

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

guess_indian_gender-1.0.1-py3-none-any.whl (137.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page