Skip to content

Instantly share code, notes, and snippets.

@pzelasko
Created May 17, 2020 21:27
Show Gist options
  • Save pzelasko/41d46cef4fd43caaa8eb8efbef7d4137 to your computer and use it in GitHub Desktop.
Save pzelasko/41d46cef4fd43caaa8eb8efbef7d4137 to your computer and use it in GitHub Desktop.
Very poor man's English text normalization
sed "/[[:punct:]]*/{ s/[^[:alnum:][:space:]'-]//g}" | tr '[:upper:]' '[:lower:]' | grep -v '[0-9]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment