-
Notifications
You must be signed in to change notification settings - Fork 104
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tussenvoegsels / family name prefixes #130
Comments
I just want to clarify the problem with the current handling. Do you propose that tussenvoegsels are not conceptually part of the last name, like if someone filled out a form they would not include the tussenvoegsels in the last name field? Could you give a few specific examples of when they would or would not be considered part of the last name? We don't have them so much in English so I'm not very familiar with how they are used. I'm guessing the answer would be similar for family name affixes in any language that has them. |
I made a quick and crude example here although I realised just now that this approach won't work with a double/multiple last name which each have a prefix. |
@derek73 please review my latest brain fart, I would appreciate your view |
@patvdleer at first glance this looks like it could maybe work. I guess I wonder if we need all of it because it seems like it functions the same as prefix, just taking prefixes and separating them out from the name portion. Maybe we should do that with all prefixes and we don't need a new place for the constants to live? Can you open a pull request? It will make it easier to see all your changes together and review them. |
I'm sure it can be vastly improved, this was just a somewhat quick and dirty fix since I needed to be able to generate names formatted for sorting. |
I was able to chat with one my Dutch friends about this a bit more. She said that she considers her last name to include the tussenvoegsels and never want's to see it omitted because it's not her name if it doesn't include the tussenvoegsels. (She was unable to come up with a word for the part of the "achternaam"/last name that does not include the "tussenvoegsels", in Dutch or English.) One important insight, however, was that she expects her last name to be sorted without consideration of the prefix/tussenvoegsels. So, for example, "de Jong" should be sorted as though it starts with a "J", not a "d". The parser cannot currently support that, and it seems a valid reason why we need an attribute that just has the root part of the last name minus any prefixes/tussenvoegsels. Just to make things more complicated, it appears that French prefixes work a bit differently, and there's a decent amount of variation between languages. MLA List of Works Cited: Order of Entries.
I wonder what we should call this new part of the last name that is what you should sort by? And definitely the parser's capitalization doesn't take any of that into account. While I'm thinking of it, if we implement this it would be nice to do it in such a way so that someone could assign a string like "de Jong" to the |
This is why I want this so bad, I'm trying to sort a large amount of names. The issue I still haven't figured out is how, So with multiple something like As for the French, on the one hand I would say localization which would determine wetter or not to apply the above logic? |
re: Both of those options seem not ideal, but I guess it could depend on the context too. If you're looking at a bunch of names in alphabetical order, I would think the ideal way to sort, or at least what might be most respectful of how people consider their own names but still make the sorted element clear, would be at least to enable a way to sort the names without regard to "van der" but highlight the last name, ex: Leer, Aaron If the parser provided a way to do that, which it doesn't today because "van der Leer" is all one name, then it seems it would be possible to also so something with the string format or other methods to get the representation you need. We can't really use system localization because wether or not it's French depends on the name, not your system. Would be nice if you could maybe specify that it's a French name and smart things would happen, but I have no idea how to structure something like that. It would have to be a way that other people could contribute those things. |
sorry for the really late reply, personal life got in the way... So to summarize this, we don't want to get into localisation, the "tussenvoegsels" should already work or at least that was the intent of the code you wrote (referring to #132 (review) ) |
Before I say anything else, I believe the English term for Tussenvoegsels is 'Nobiliary Particle' |
I may be interested in this feature. As has been pointed out above, a tussenvoegsels is usually considered to be part of a surname. However, the project I am working on requires that double barrel names be treated differently from names with tussenvoegsels. |
How did you figure that out?
I have a fork of an older version which does kinda do the job, keep in mind, it's been a while. Changes: patvdleer@80d4e55#diff-03c2f987f4d661012a7843bb797f32bcbbc5126415024e3dfc7255766a95d3fe Files: |
Ticket to discuss expanding the recognition, based on; #121 (comment)
Suggestion is to add a family name with separate tussenvoegsels / family name affix/prefixes. To avoid introducing breaking changes I would suggest adding this as additional properties rather than splitting up last name.
Wiki info: https://en.wikipedia.org/wiki/Tussenvoegsel
The text was updated successfully, but these errors were encountered: