Issue with Pluralization in German Language for Umlauts
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- localization
Research direction
Search the repository for the pluralize function and any existing German-language inflection tests; no source file or test path is named in the issue. Reproduce the listed examples first, then add coverage and ensure the reported German plural forms, including umlaut changes and suffixes, produce the expected results.
Written by the indexing model from the issue text.
Description
I hope this message finds you well. I've identified an issue with the pluralization function in your GitHub repository when dealing with German words containing umlauts. The problem becomes apparent in cases where the plural form should include umlauts, but the function does not handle them correctly.
Here are specific examples:
word1 = 'Frucht'
pluralize(word1)
#should be 'Früchte'
Out[8]: 'Fruchte'
word2 = 'Apfel'
pluralize(word2)
#should be 'Äpfel'
Out[9]: 'Apfel'
word3 = 'Arzt'
pluralize(word3)
#should be 'Ärzte'
Out[10]: 'Arzte'
word4 = 'Anbaufläche'
pluralize(word4)
#it's true
Out[11]: 'Anbauflächen'
word5 = 'Fläche'
pluralize(word5)
# it's true
Out[12]: 'Flächen'
word6 = 'Stuhl'
pluralize(word6)
#should be 'Stühle'
Out[13]: 'Stuhle'
word7 = 'Flüssigkeit'
pluralize(word7)
#should be 'Flüssigkeiten'
#no 'en'!why!
Out[14]: 'Flüssigkeit'
word8 = 'Röhre'
pluralize(word8)
#it's true
Out[15]: 'Röhren'
word9 = 'Höhle'
pluralize(word9)
#it's true
Out[16]: 'Höhlen'
word10 = 'Ökonomie'
pluralize(word10)
#it's true
Out[17]: 'Ökonomien'
word11 = 'Loch'
pluralize(word11)
#should be 'Löcher'
Out[18]: 'Loche'
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from clips/pattern
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100