Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonashaag/german-normalize

Python module to normalize ä ü ö ß -> a(e) u(e) o(e) ss (DIN 5007)
https://github.com/jonashaag/german-normalize

Last synced: 24 days ago
JSON representation

Python module to normalize ä ü ö ß -> a(e) u(e) o(e) ss (DIN 5007)

Awesome Lists containing this project

README

        

# `german_normalize`

Python module to normalize ä ü ö ß -> a(e) u(e) o(e) ss (DIN 5007).

Supports both Python 2 and 3.

Example:

```py
from german_normalize import normalize

normalize(u'Naïve Café Äpfel ẞ')
# => 'Naive Cafe AEpfel SS'

normalize(u'Naïve Café Äpfel ẞ', lexicographic=True)
# => 'Naive Cafe Apfel SS'

normalize(u'Naïve Café Äpfel ẞ', heuristic_case=True)
# => 'Naive Cafe Aepfel SS'
```