@@ -6,13 +6,25 @@ Titlecase
66.. image :: https://coveralls.io/repos/github/ppannuto/python-titlecase/badge.svg?branch=master
77 :target: https://coveralls.io/github/ppannuto/python-titlecase?branch=master
88
9- This filter changes all words to Title Caps, and attempts to be clever
9+ This filter changes a given text to Title Caps, and attempts to be clever
1010about SMALL words like a/an/the in the input.
11-
1211The list of "SMALL words" which are not capped comes from the New York
1312Times Manual of Style, plus some others like 'vs' and 'v'.
1413
15- This is a resurrection of `Stuart Colville's
14+ The filter employs some heuristics to guess abbreviations that don't need conversion.
15+
16+ +------------------+----------------+
17+ | Original | Conversion |
18+ +==================+================+
19+ | this is a test | This Is a Test |
20+ +------------------+----------------+
21+ | THIS IS A TEST | This Is a Test |
22+ +------------------+----------------+
23+ | this is a TEST | This Is a TEST |
24+ +------------------+----------------+
25+
26+
27+ This library is a resurrection of `Stuart Colville's
1628titlecase.py <https://muffinresearch.co.uk/titlecasepy-titlecase-in-python/> `__,
1729which was in turn a port of `John Gruber's
1830titlecase.pl <http://daringfireball.net/2008/05/title_case> `__.
0 commit comments