in reply to Re: Handling caps for surnames with capitals in the middle (was: Irish Surnames)
in thread Handling caps for surnames with capitals in the middle (was: Irish Surnames)

But you might make an educated guess when you have no (reasonable) capitalisation. I think that's how humans treat this problem.

i.e.

"MacDonalds" eq handle_caps("irish","macdonalds"); "Macdonalds" eq handle_caps("irish","Macdonalds"); "MacDonalds" eq handle_caps("irish","MaCDOnaLDS");

Assuming that "MacDonalds" is the 'preferred' spelling in Irish...

- Joost.

  • Comment on Re: Re: Handling caps for surnames with capitals in the middle (was: Irish Surnames)
  • Download Code