avatar
Michael Kilpatrick @mtkilpatrick.bsky.social

7/ But it has to avoid falsely changing the case of two-letter names such as "Li", and so the search for particles "van de" de la", "du", etc, is separate from the logic that differentiates names such as "Li" from pairs of initials such as "CJ", primarily based on whether there's a vowel or not.

jun 26, 2025, 1:28 pm • 0 0

Replies

avatar
Michael Kilpatrick @mtkilpatrick.bsky.social

8/ Blimey, it's an absolute mess. But I think I ended up with a solution that normalises most names if they are entered with stupid upper/lower case inconsistencies, and accounts for strange names, strange positioning of articles, and also puts Mr/Miss/Dr/Prof/etc always at the front.

jun 26, 2025, 1:30 pm • 0 0 • view
avatar
Michael Kilpatrick @mtkilpatrick.bsky.social

9/ All this because I couldn't stand the fact that a few people had bought tickets to Harmony In Harlem concerts but put their name as "judith smith" or "DR C BURT" rather than "Judith Smith" and "Dr C Burt". Oops. That's several days of life I won't get back!

jun 26, 2025, 1:32 pm • 0 0 • view