Title: Does not work for chinese name · Issue #83 · derek73/python-nameparser · GitHub
Open Graph Title: Does not work for chinese name · Issue #83 · derek73/python-nameparser
X Title: Does not work for chinese name · Issue #83 · derek73/python-nameparser
Description: The parser seems to parse incorrectly for Chinese names in English. (below uses Malaysia's Chinese name) Names without nickname. Current: >>> name = HumanName('Tham Jun Hoe') >>> name Open Graph Description: The parser seems to parse incorrectly for Chinese names in English. (below uses Malaysia's Chinese name) Names without nickname. Current: >>> name = HumanName('Tham Jun Hoe') >>> name X Description: The parser seems to parse incorrectly for Chinese names in English. (below uses Malaysia's Chinese name) Names without nickname. Current: >>> name = HumanName('Tham Jun Hoe') &...
Opengraph URL: https://github.com/derek73/python-nameparser/issues/83
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does not work for chinese name","articleBody":"The parser seems to parse incorrectly for Chinese names in English. (below uses Malaysia's Chinese name)\r\n\r\nNames without nickname. Current:\r\n```python\r\n\u003e\u003e\u003e name = HumanName('Tham Jun Hoe')\r\n\u003e\u003e\u003e name\r\n\u003cHumanName : [\r\n title: ''\r\n first: 'Tham'\r\n middle: 'Jun'\r\n last: 'Hoe'\r\n suffix: ''\r\n nickname: ''\r\n]\u003e\r\n```\r\n\r\nExpected:\r\n```python\r\n\u003e\u003e\u003e name = HumanName('Tham Jun Hoe')\r\n\u003e\u003e\u003e name\r\n\u003cHumanName : [\r\n title: ''\r\n first: 'Jun Hoe'\r\n middle: ''\r\n last: 'Tham'\r\n suffix: ''\r\n nickname: ''\r\n]\u003e\r\n```\r\n\r\nNames with nickname. Current:\r\n```python\r\n\u003e\u003e\u003e name = HumanName('Ivan Tham Jun Hoe')\r\n\u003e\u003e\u003e name\r\n\u003cHumanName : [\r\n title: ''\r\n first: 'Ivan'\r\n middle: 'Tham Jun'\r\n last: 'Hoe'\r\n suffix: ''\r\n nickname: ''\r\n]\u003e\r\n```\r\n\r\nExpected:\r\n```python\r\n\u003e\u003e\u003e name = HumanName('Ivan Tham Jun Hoe')\r\n\u003e\u003e\u003e name\r\n\u003cHumanName : [\r\n title: ''\r\n first: 'Jun Hoe'\r\n middle: ''\r\n last: 'Tham'\r\n suffix: ''\r\n nickname: 'Ivan'\r\n]\u003e\r\n```\r\n\r\nChinese name (possible to use `jieba` to split the name into first and last). Current:\r\n```python\r\n\u003e\u003e\u003e name = HumanName('谭俊浩')\r\n\u003e\u003e\u003e name\r\n\u003cHumanName : [\r\n title: ''\r\n first: '谭俊浩'\r\n middle: ''\r\n last: ''\r\n suffix: ''\r\n nickname: ''\r\n]\u003e\r\n```\r\n\r\nExpected:\r\n```python\r\n\u003e\u003e\u003e name = HumanName('谭俊浩')\r\n\u003e\u003e\u003e name\r\n\u003cHumanName : [\r\n title: ''\r\n first: '俊浩'\r\n middle: ''\r\n last: ''\r\n suffix: '谭'\r\n nickname: ''\r\n]\u003e\r\n```\r\n\r\nChina's names are usually a bit different in the sense that they do not have spaces in between first name for English. Example, `Tham Junhoe`.","author":{"url":"https://github.com/pickfire","@type":"Person","name":"pickfire"},"datePublished":"2019-04-17T03:41:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/83/python-nameparser/issues/83"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:d711a025-8fff-6c3a-f647-6fd604e3178b current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 81BC:379053:467A:5B4F:6A5581B0 html-safe-nonce 15f0aa9847da9f7a959de00eabd15ad715b9a5819bd37791bb2b2751a68eaa06 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUJDOjM3OTA1Mzo0NjdBOjVCNEY6NkE1NTgxQjAiLCJ2aXNpdG9yX2lkIjoiNDE1MDYzNDMwNzYyMTU4NTMyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 4654f95652371d4ae54af531ecc3748d3b008f608eba12a86c1b2e1ffdd1a949 hovercard-subject-tag issue:434078070 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/derek73/python-nameparser/83/issue_layout twitter:image https://opengraph.githubassets.com/5e9941e058b466f6d7f9d75164dd6441d5cae05e449d54d1a071fae834123361/derek73/python-nameparser/issues/83 twitter:card summary_large_image og:image https://opengraph.githubassets.com/5e9941e058b466f6d7f9d75164dd6441d5cae05e449d54d1a071fae834123361/derek73/python-nameparser/issues/83 og:image:alt The parser seems to parse incorrectly for Chinese names in English. (below uses Malaysia's Chinese name) Names without nickname. Current: >>> name = HumanName('Tham Jun Hoe') >>> name og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username pickfire hostname github.com expected-hostname github.com None b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e turbo-cache-control no-preview go-import github.com/derek73/python-nameparser git https://github.com/derek73/python-nameparser.git octolytics-dimension-user_id 18306 octolytics-dimension-user_login derek73 octolytics-dimension-repository_id 18353524 octolytics-dimension-repository_nwo derek73/python-nameparser octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 18353524 octolytics-dimension-repository_network_root_nwo derek73/python-nameparser turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 617ea94e2807dc3052601c560530bb3f8259bc9a ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.