nxt.capitalization

Members

Functions

isCapitalized
bool isCapitalized(S s)

Check if s has proper noun capitalization.

isCapitalizedASCIIEasy
bool isCapitalizedASCIIEasy(S s)

Check if s starts with a capital letter followed by a lower letter.

isCapitalizedSimple
bool isCapitalizedSimple(S s)

Check if s starts with a capital letter followed by a lower letter.

isLowercased
bool isLowercased(S s)

Check if s lowercased, that is only contains lower-case characters.

isProperNameCapitalized
bool isProperNameCapitalized(S s)

Return true if s has proper name capitalization, such as in "Africa" or "South Africa".

Meta