Name | NameGenderFA JSON |
Version |
0.0.3
JSON |
| download |
home_page | |
Summary | Detecting the gender of Persian names with automatic cleaning of input |
upload_time | 2023-06-17 14:15:09 |
maintainer | |
docs_url | None |
author | Amirmahdi Mohammadi |
requires_python | >=3.6 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# NameGenderFA
Detecting the gender of Persian names with automatic cleaning of input
__________________________________________________
Example:
from NameGenderFA import NameGenderFA
gd=NameGenderFA.Gender_detector()
name='علی123! عزیزی'
gender, cleaned_name=gd.detect(name)
__________________________________________________
output:
('male', 'علی')
__________________________________________________
gender: male/female/None
cleaned_name: cleaned name
Gender_detector.perfixes: removes some perfixes like "سید", you can set it manually
Gender_detector.replace_chars: replace some characters like 'ي' to 'ی' or 'السادات' to ''
also punctuations and numbers will be remove.
Raw data
{
"_id": null,
"home_page": "",
"name": "NameGenderFA",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Amirmahdi Mohammadi",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/70/ad/79508812b1f07c1a35f258415a29378fb115e45525df574a0e26ee915019/NameGenderFA-0.0.3.tar.gz",
"platform": null,
"description": "# NameGenderFA\r\nDetecting the gender of Persian names with automatic cleaning of input\r\n\r\n__________________________________________________\r\nExample:\r\n\r\nfrom NameGenderFA import NameGenderFA\r\n\r\ngd=NameGenderFA.Gender_detector()\r\n\r\nname='\u00d8\u00b9\u00d9\u201e\u00db\u0152123! \u00d8\u00b9\u00d8\u00b2\u00db\u0152\u00d8\u00b2\u00db\u0152'\r\n\r\ngender, cleaned_name=gd.detect(name)\r\n__________________________________________________\r\noutput:\r\n('male', '\u00d8\u00b9\u00d9\u201e\u00db\u0152')\r\n__________________________________________________\r\ngender: male/female/None\r\n\r\ncleaned_name: cleaned name\r\n\r\nGender_detector.perfixes: removes some perfixes like \"\u00d8\u00b3\u00db\u0152\u00d8\u00af\", you can set it manually\r\n\r\nGender_detector.replace_chars: replace some characters like '\u00d9\u0160' to '\u00db\u0152' or '\u00d8\u00a7\u00d9\u201e\u00d8\u00b3\u00d8\u00a7\u00d8\u00af\u00d8\u00a7\u00d8\u00aa' to ''\r\n\r\nalso punctuations and numbers will be remove.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Detecting the gender of Persian names with automatic cleaning of input",
"version": "0.0.3",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cdd4241ab9e0b47eebb4fa58dbc4edb7895e4f70bfa8a0943069b41c2f195266",
"md5": "68f3960f29135203754cb93bb5a36d63",
"sha256": "b64f526e97357a20963486e792fe840b1820548885228ef69b8c43dd481446e5"
},
"downloads": -1,
"filename": "NameGenderFA-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "68f3960f29135203754cb93bb5a36d63",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3262,
"upload_time": "2023-06-17T14:15:08",
"upload_time_iso_8601": "2023-06-17T14:15:08.016686Z",
"url": "https://files.pythonhosted.org/packages/cd/d4/241ab9e0b47eebb4fa58dbc4edb7895e4f70bfa8a0943069b41c2f195266/NameGenderFA-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "70ad79508812b1f07c1a35f258415a29378fb115e45525df574a0e26ee915019",
"md5": "3e04f056566d8f25cc6a5c3e3bbd6024",
"sha256": "195630d54461bf3f0cfd34233096473384cfd37dda4edaf37464ef391eb7f77e"
},
"downloads": -1,
"filename": "NameGenderFA-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "3e04f056566d8f25cc6a5c3e3bbd6024",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3230,
"upload_time": "2023-06-17T14:15:09",
"upload_time_iso_8601": "2023-06-17T14:15:09.635468Z",
"url": "https://files.pythonhosted.org/packages/70/ad/79508812b1f07c1a35f258415a29378fb115e45525df574a0e26ee915019/NameGenderFA-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-17 14:15:09",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "namegenderfa"
}