ppannuto / python-titlecase

Python library to capitalize strings as specified by the New York Times Manual of Style
MIT License
244 stars 36 forks source link

‘Mc’-prefixed small words are not capitalized within slash-joined compound words #64

Closed igorburago closed 4 years ago

igorburago commented 4 years ago

Although there are no real surnames that start with Mc and continue with a small word, it feels weird for a string like mcto/mcby to be title-cased into McTo/Mcby, and not McTo/McBy, even though both ‘to’ and ‘by’ are small words—just because the small_first_last argument is set to False in the slash-induced (and, if #63 is merged, hyphen-induced) recursion.

igorburago commented 4 years ago

I do not see any negative consequences from always capitalizing the trailing part of an Mc-prefixed word, if only for consistency. See #65.