it can detect gender by firstName
Project description
Persian gender detection
A simple Python package to detect gender by Persian first name. (With more than 25K names)
Example:
import pgd
print(pgd.detectGender('علی'))
print(pgd.detectGender('ØØ¢Ù…د'))
print(pgd.detectGender('ندا'))
print(pgd.detectGender('مهدي'))
print(pgd.detectGender('سارا'))
print(pgd.detectGender('می5نا'))
print(pgd.detectGender('مری97145م'))
That would result in:
male
male
female
male
female
female
female
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PGD-0.0.2.tar.gz
(1.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
PGD-0.0.2-py3-none-any.whl
(1.8 kB
view details)
File details
Details for the file PGD-0.0.2.tar.gz.
File metadata
- Download URL: PGD-0.0.2.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73bed84e30770df65ba49ed997f3a81f187e014b7b06bc689ab1e3b3bfd4edfd
|
|
| MD5 |
db076a7dbe5f84cfd45c94e73f8aaec2
|
|
| BLAKE2b-256 |
14f76925d53adbe3eaeab099a5d0887983f8d8b4f2045d24fe191f4b27c44c6e
|
File details
Details for the file PGD-0.0.2-py3-none-any.whl.
File metadata
- Download URL: PGD-0.0.2-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92ffa52df5723315205419051e2fb8af073fde5c3ab0dcae1e96e6766a8ef7dd
|
|
| MD5 |
cab744d0e447066072bf6ecd6173fe28
|
|
| BLAKE2b-256 |
e4828cb5df3f3026dd50b969f55a60942815aa77d397f48e0e98cb9ec1ec5893
|