name-parser icon indicating copy to clipboard operation
name-parser copied to clipboard

Prefixes do not get recognized

Open rvanlaak opened this issue 4 years ago • 1 comments

While adding the Dutch language the van ’t last name prefix could not get detected.

Adding it to a new language's suffixes will not detect it either, so this has something to do with the parsing internals.

Did add a test in draft PR #35

Test data

Expected: Charlotte van ’t Wout

Actual: Charlotte Van ’T Wout

rvanlaak avatar Nov 12 '19 09:11 rvanlaak

@rvanlaak I recognized the same problem for german particularities. I solved this with #40. If you are interested in this solution, than have a look on this PR - or even better: I would appreciate if you can test it. The prerequisite would be to create a Dutch.php likewise German.php

blacksenator avatar Dec 16 '19 15:12 blacksenator