Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Module to intelligently handle names with two last names and other best practices?

by nysus (Vicar)
on Jun 27, 2018 at 16:20 UTC ( #1217521=note: print w/replies, xml ) Need Help??


in reply to Re: Module to intelligently handle names with two last names and other best practices?
in thread Module to intelligently handle names with two last names and other best practices?

True, but for 99.9% of the names in my database which are traditional American names, it would be useful to properly handle the names. I'm not too worried about the edge cases. I just want to be able to try to sort by the different types of last names. It would be useful for my purposes.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Re^2: Module to intelligently handle names with two last names and other best practices?

Replies are listed 'Best First'.
Re^3: Module to intelligently handle names with two last names and other best practices?
by afoken (Canon) on Jun 27, 2018 at 19:39 UTC
    True, but for 99.9% of the names in my database which are traditional American names

    Like Wernher Magnus Maximilian Freiherr von Braun, US citizen since April 15, 1955? Even the rules for processing his name in Germany, Austria, and Switzerland are everything but homogeneous. How would you process it? (Hint: wrong. No matter how you process it.)

    If Wernher was an Austrian citizen, his name would be illegal. No "von", no "Freiherr". Just "Wernher Magnus Maximilian Braun". So if some naive Austrian coder would have written a database, he would perhaps automatically remove "von" and "Freiherr". But then again, he would be wrong. Wernher was US citizen, and he previously was a German citizen, so he could legally use his full name, including "Freiherr von", in Austria.

    And how would you handle those people? Or this one, for whom Wikipedia lists 10 different names? Or "Ludwell Ebersole Gaines Sr." (random pick from http://politicalstrangenames.blogspot.com/), Charles Emerson Winchester III, Charles "Trip" Tucker III?

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re^3: Module to intelligently handle names with two last names and other best practices?
by hippo (Chancellor) on Jun 27, 2018 at 17:22 UTC
    99.9% of the names in my database which are traditional American names

    You mean like Sitting Bull? Good luck calling him "Mr. Bull" to his face.

      For that matter, good luck addressing Tȟatȟßŋka ═yotake as "Mr. Sitting Bull". He'd probably just give you a blank look and say "You talking to me?" :)


      Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1217521]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2019-12-09 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?