gender-guesser modified to use first names as input, and allows all the countries
Project description
gender-guesser with first names and full countries
Changes gender_guesser
by:
- Works for all countries
- Convert mostly_(fe)male to (fe)male
- Works for composed names by finding the first female or male and ignoring the other ones
Install
$ pip install gender-guesser-first-names
USAGE
>>> from gender_guesser_first_names import gender
>>> d=gender.Detector(case_sensitive=False)
>>> d.get_gender('Andrea Maria',country='italy')
'male'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gender_guesser_first_names-0.1.1.tar.gz
.
File metadata
- Download URL: gender_guesser_first_names-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 311eef89fe968c1836015ae3ca499cbabadb6bad8682dbcc6daa6ff3e340ea7e |
|
MD5 | 4b4d8e7333615f433f0f2d5ae529314c |
|
BLAKE2b-256 | e47c9a410a90792ccbf19af25dc4ed9515640836beef86e786a01182c11c9bb1 |
File details
Details for the file gender_guesser_first_names-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: gender_guesser_first_names-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db78583388925033e7a5bf9607b3c8ffb9000c953d4661f47b8952c3118d7678 |
|
MD5 | e8ebea6613ea8d3e14657a754276ed6d |
|
BLAKE2b-256 | b7421921cbb576129261dc45e5c183112a811c1500144b0d60ebf1ccd1961089 |