Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

run the parsing of pieces for post-comma parts prior to checking if a…#98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@rAndrewNichol
Copy link
Contributor

…ll post-comma elements are suffixes. this ensures that suffixes are properly captured in the constants prior to the all-suffix check.

This is to fix an inconsistency issue where a name would get misparsed the first time it was parsed and correctly parsed any subsequent times.

Upstream:

HumanName("David Roth, M.Ed")
<HumanName : [
title: ''
first: 'M.Ed'
middle: ''
last: 'David Roth'
suffix: ''
nickname: ''
]>
HumanName("David Roth, M.Ed")
<HumanName : [
title: ''
first: 'David'
middle: ''
last: 'Roth'
suffix: 'M.Ed'
nickname: ''
]>

With Fix:

HumanName("David Roth, M.Ed")
<HumanName : [
title: ''
first: 'David'
middle: ''
last: 'Roth'
suffix: 'M.Ed'
nickname: ''
]>
HumanName("David Roth, M.Ed")
<HumanName : [
title: ''
first: 'David'
middle: ''
last: 'Roth'
suffix: 'M.Ed'
nickname: ''
]>

Tests were identical to upstream, 11 expected failures.

…ll post-comma elements are suffixes. this ensures that suffixes are properly captured in the constants prior to the all-suffix check
@rAndrewNichol
Copy link
ContributorAuthor

Hi@derek73 - any interest in this PR? any followup from me you'd like?

@derek73
Copy link
Owner

derek73 commentedNov 20, 2019 via email

Yes but I am traveling and won’t be able to take a closer look until next week sometime.
On Nov 19, 2019, at 4:15 PM, Andrew Nichol ***@***.***> wrote:  Hi@derek73 - any interest in this PR? any followup from me you'd like? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

@derek73derek73 merged commit5d74f04 intoderek73:masterDec 12, 2019
@derek73
Copy link
Owner

Thanks for the pull request. Looks like you had to go pretty far down the rabbit hole to unravel that one. :) I appreciate it. Sorry it took so long to get this merged.

rAndrewNichol reacted with thumbs up emojirAndrewNichol reacted with hooray emoji

@derek73derek73 added this to thev1.0.5 milestoneDec 12, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v1.0.5

Development

Successfully merging this pull request may close these issues.

2 participants

@rAndrewNichol@derek73

[8]ページ先頭

©2009-2025 Movatter.jp