Skip to content
This repository was archived by the owner on Sep 7, 2026. It is now read-only.

Preserve all letters with accents while strip punctuation - #177

Open
escalate wants to merge 1 commit into
jprichardson:masterfrom
escalate:master
Open

escalate wants to merge 1 commit into
jprichardson:masterfrom
escalate:master

Conversation

@escalate

Copy link
Copy Markdown

The regex replace function within the stripPunctuation method deletes all of the German umlauts.
Now the stripPunctuation function uses the latin_map to check every single letter before replacing it.
All German umlauts and other letters with accents will now preserved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant