nltk.text_type.capitalize

text_type.capitalize() → unicode

Return a capitalized version of S, i.e. make the first character have upper case and the rest lower case.