 			}
 		}
 
-		// capitalize first letter of first word
-		// lowercase all other letters
+		/**
+		*	capitalize()
+		*	Converts the first character to uppercase and the remainder to lowercase.
+		*
+		*	Example:
+		*		Inflector.capitalize('washington') #=> "Washington"
+		**/
 		public static function capitalize (word:String) :String
 		{
 			if (word.length > 0)

			}
			return humanize(underscore(word)).replace(/\b([a-z])/g, f);
		}

		public static function underscore (CamelCaseWord:String) :String
		{

			return word.replace(/(.+)ries$/i, '$1ry').replace(/(.+)s$/i, '$1');
		}

		/**
		*	titleize(word)
		*	Capitalizes all the words and replaces some characters in the string to create a nicer looking title.
		*	titleize is meant for creating pretty output.
		*	titleize is also aliased as as titlecase.
		*
		*	Examples:
		*		Inflector.titleize("man from the boondocks") # => "Man From The Boondocks"
		*		Inflector.titleize("x-men: the last stand")  # => "X Men: The Last Stand"
		**/
		public static function titleize (word:String) :String
		{
			var f:Function = function (...args) :String
