Function i18n_transform

Source
pub fn i18n_transform(s: &str) -> Cow<'_, str>
Expand description

Performs the following transforms on the given string:

  • Removes Unicode combining marks
  • Removes some punctuation
  • Replaces other punctuation with spaces