Guess gender from indian names
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
Metadata
Release files for guess-indian-gender 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| guess_indian_gender-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for guess_indian_gender-1.0.1-py3-none-any.whl |
Release files / guess_indian_gender-1.0.1-py3-none-any.whl
| Download URL | guess_indian_gender-1.0.1-py3-none-any.whl |
|---|---|
| Size | 137.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3032a38327cbc90b0ce8d77bc27910310f61206b3ce78ee91664688087f81878
|
|
BLAKE2b-256 checksum How to use checksums |
f27a80d2de4119d0751772842723e173fc3689ad529053f5d71071c5bcd49ca6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
|
Security for guess-indian-gender 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.