The standard string title()
method in Python is pretty naive and doesn't correctly handle converting even fairly simple words and phrases to title case (hyphenated words, phrases with quotes, phrases with prepositions, etc.).
In Googling around, I found a few solutions in different languages to this problem. Can anyone recommend a good implementation of this in Python?