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

Assert uniqueness of all IDs #156

Merged
merged 3 commits into from
Aug 26, 2024
Merged

Assert uniqueness of all IDs #156

merged 3 commits into from
Aug 26, 2024

Conversation

simoncozens
Copy link
Contributor

We noticed that shaperglot was using yo_Latn_BJ instead of yo_Latn, which was odd. Then we noticed that both languages were called Yoruba but this wasn't caught by #154, which was very odd. Then I realised that both textproto files had an id: field of yo_Latn, so the Beninese Yoruba was overriding the Nigerian Yoruba. Oops.

It turns out we had a few other languages with duplicated IDs too.

@moyogo
Copy link
Contributor

moyogo commented Aug 19, 2024

Ouch. Good catch.

"Beninese Yoruba" should be "Yoruba, Benin".

@simoncozens
Copy link
Contributor Author

Good point. "Language, Place (Script)" is the new schema.

@simoncozens simoncozens merged commit 62f135e into main Aug 26, 2024
11 checks passed
@simoncozens simoncozens deleted the duplicate-ids branch August 26, 2024 15:52
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 this pull request may close these issues.

3 participants