Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of pronunciation variants should be like on Wiktionary #1

Open
dietmar opened this issue Oct 24, 2023 · 0 comments · May be fixed by #2
Open

Order of pronunciation variants should be like on Wiktionary #1

dietmar opened this issue Oct 24, 2023 · 0 comments · May be fixed by #2

Comments

@dietmar
Copy link

dietmar commented Oct 24, 2023

Hi and thanks a lot for this repository!

I'd like to suggest to keep the ordering of pronunciation variants for the same word/entry in the same order as they appear on Wiktionary, because that typically reflects how common that pronunciation is (most common first).

The example where I came across this topic is the word "Storys" https://de.wiktionary.org/wiki/Storys
On that Wiktionary page we have this:
IPA: [ˈstɔːʁɪz], [ˈstɔʁis], [ˈstoːʁis], [ˈstɔʁiːsː], [ˈstoːʁiːsː], auch: [ˈʃtɔːʁɪz], [ˈʃtɔʁis], [ˈʃtoːʁis], [ˈʃtɔʁiːsː], [ˈʃtoːʁiːsː]

This repository's de_dewikt.csv has:

$ egrep '^Storys' de_dewikt.csv
Storys,/ˈstoːʁis/
Storys,/ˈstoːʁiːsː/
Storys,/ˈstɔʁis/
Storys,/ˈstɔʁiːsː/
Storys,/ˈstɔːʁɪz/
Storys,/ˈʃtoːʁis/,auch
Storys,/ˈʃtoːʁiːsː/,auch
Storys,/ˈʃtɔʁis/,auch
Storys,/ˈʃtɔʁiːsː/,auch
Storys,/ˈʃtɔːʁɪz/,auch

To my ear (Austrian German), the variants with oː feel very strange. But they come first, because of the final sorting that happens in extract_de_ipa.sh:

LC_ALL=C sort -u -o de_dewikt.csv < de_dewikt_raw.csv

I think it would be a good idea to keep the original order. In my use case of this list, I need one pronunciation for a given word. Just always taking the first one in the list would work better after this change (knowing that of course the information on Wiktionary can still be questionable).

dietmar added a commit to dietmar/german-ipa-dict that referenced this issue Oct 25, 2023
@dietmar dietmar linked a pull request Oct 25, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant