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

How do I get pronunciation on the ultimate geography deck? #572

Closed
Firdoost opened this issue Sep 24, 2022 · 5 comments
Closed

How do I get pronunciation on the ultimate geography deck? #572

Firdoost opened this issue Sep 24, 2022 · 5 comments

Comments

@Firdoost
Copy link

I downloaded the ultimate geography deck from the Ankiweb and it's pretty cool, but it does not have any sort of pronunciation. I can't use Awesome TTS because it wants me to specify the language for the text that it is pronouncing. Is there anywhere I can go to get audio for the ultimate geography deck?

@aplaice
Copy link
Collaborator

aplaice commented Sep 24, 2022

Thanks for the suggestion!

This is a topic that we've been (excessively?) discussing for a while, with a few potential solutions, each with various problems, here: #81. Please feel free to comment there! Please also feel free to make a stab at an implementation, if you have time. (I personally would be happy with even a partially-flawed implementation as a variant deck.)

Technically, using Awesome TTS, with English as the language might work if whatever TTS backend you're using is sufficiently good. (I haven't tried any, so I can't tell if there are any such.) After all, you're interested in the pronunciation English, not in the native language(s) of the country. The key stumbling block is that if the TTS engine isn't good-enough, then it'll mangle the countries with unusual pronunciations, which are obviously the ones that you'd be most interested in. The worst case would be if it gives a plausible but wrong pronunciation, and I'm not sure how to work around that. :/

@Firdoost
Copy link
Author

Thanks for the response! I am surprised that no one has cracked this problem, but It does seem to be quite a difficult problem to fix. I can only kind-of code in HTML and CSS, so I probably wouldn't be of much use for solving the problem. My hard core WH teacher is making my high school class learn all of the countries, and, luckily, he has provided a resource to get accurate pronunciations. I am just going to have to bite the bullet and manually find mispronounced country names then replace them with correct ones. Using Anki to get a 100% on every quiz and test is worth the trouble though.

@Firdoost
Copy link
Author

I am not too sure how accurate the resource that my teacher suggested is though. Accurate pronunciation seems to be quite elusive according to the page that you suggested me to look at.

@ukanuk
Copy link
Contributor

ukanuk commented Sep 24, 2022

It does seem to be quite a difficult problem

To be clear, Anki and Brainbrew make it incredibly easy to add pronunciations, whether IPA, audio, or something else.

The difficulty is in the social perspective.

Who decides what does/doesn't get included in this deck? For places with multiple pronunciations, which region's pronunciation is "correct"? One person wants audio files for the entire deck that always autoplay, but that is incredibly annoying to another person is frequently embarrassed in public because they forgot to turn down their phone volume.

To sidestep the issues personally, I changed my card style to links to the names to go directly to a Forvo pronunciations webpage. (I shared this code in #81, see my comment for additional links and better styling if you're interested)

<div class="value">
	<a class=unobtrusive href="https://www.wikipedia.org/wiki/Special:Search?search={{Capital}}">{{Capital}}</a>
	 &nbsp;
	<a class="unobtrusive" style="font-size: 90%; vertical-align: top; " href="https://forvo.com/word/{{Capital}}/#en">🔊&#xFE0E;</a>
</div>

@axelboc
Copy link
Collaborator

axelboc commented Sep 25, 2022

FYI, @Firdoost, if you decide to go with @ukanuk's clever solution, the README has a section on how to preserve modifications to the deck's templates when upgrading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants