A simple python package to detect gender by Persian first name. (With more than 19K names).
Project description
Persian Gender Detection
A simple python package to detect gender by Persian first name. (With more than 19K names)
for this package i use this repo if you are use NPM that's great choice.
Installation
Install with PIP:
$ pip install persian-gender-detection
Example
from persian_gender_detection import get_gender
# Detect gender
get_gender(' عــــلی ') # MALE
get_gender('نرگـــ😉ــس') # FEMALE
get_gender('حســ😎ــن') # MALE
get_gender('۱۲۳۹۹۳محمدعلی123') # MALE
get_gender('۱۲۳مهناز۱۲۳') # FEMALE
Issues
Feel free to submit issues and enhancement requests.
Contributing
Please feel free to contribute names database with your kindly pull requests.
License
Licensed under MIT License
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 persian-gender-detection-1.1.0.tar.gz
.
File metadata
- Download URL: persian-gender-detection-1.1.0.tar.gz
- Upload date:
- Size: 139.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3b405aed169267208a1e90f79ebffcfe54c248210d0517c34fbbafe2ca388f4 |
|
MD5 | f181f23d37a12548fe6be4cd1fb35d09 |
|
BLAKE2b-256 | d9696626944d2de9690da5593199ef627f97db73ba2492873b39d4bc0183e121 |
File details
Details for the file persian_gender_detection-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: persian_gender_detection-1.1.0-py3-none-any.whl
- Upload date:
- Size: 275.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbba53cd898db463b66c6b67c3d62e9a0205f83bdb39ca60252837e41e623db9 |
|
MD5 | 75490f1394f4249e1446d1fdde67360e |
|
BLAKE2b-256 | fb22198263be68b8c29477639e3818b963f441c8f97380acc9931a7ace8bd12c |