Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/jonashaag/german-normalize
- Owner: jonashaag
- License: wtfpl
- Created: 2017-09-12T12:19:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T09:40:10.000Z (almost 5 years ago)
- Last Synced: 2024-08-08T15:00:43.495Z (3 months ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 normalizenormalize(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'
```