Convert text based on a pattern and replacement value.
Pluralize and singularize strings.