anki-geo / ultimate-geography

Geography flashcard deck for Anki
https://ankiweb.net/shared/info/2109889812
Other
789 stars 79 forks source link

Country / Capital pronunciation #81

Open peterkrieg opened 5 years ago

peterkrieg commented 5 years ago

Great deck, thanks for sharing! Wondering if you have any plans to add audio pronunciations for countries/ capitals? It could be very helpful to have audio of how to pronounce difficult cities like "ljubljana" for example. I'm happy to help with this if it's of interest.

hendursaga commented 1 year ago

@aplaice just a thought - what if, at least for some TTS software, we use the IPA pronunciation - just in case the TTS doesn't get it right itself - as input for that TTS? I know espeak-ng can take some form of IPA input, not sure about other popular TTS softwares..

hendursaga commented 1 year ago

Update: I don't think espeak-ng allows for IPA input using SSML just yet, but I'm sure some other offline TTS softwares do!

aplaice commented 1 year ago

@hendursaga Thanks for looking into this.

If we'd be just generating the audio "centrally", once, then we don't have to use a FOSS* or even an offline TTS engine. AFAIU the output of online TTS engines like Google Cloud TTS (or Azure etc.) is not copyrightable, so we could include such audio without license issues.

* a fully-FOSS stack would be nice, but especially for one-off-ish changes it's not a deal-breaker

Real-human pronunciations would be ideal, but in their absence good tts-generated audio is OK and is easier to make globally consistent.


Hi, can we use anki#tts feature ? But this feature requires Anki 2.1.20, or AnkiMobile 2.0.56. AnkiDroid does not currently support this method.

It seems that tts is now supported on Ankidroid with some workarounds. However, I don't see anything in either docs (Anki or Ankidroid) suggesting that they support SSML (or IPA in any other way), so it's probably still not viable, as I don't trust the median built-in TTS engine to correctly deal with all unusual pronunciations. (Maybe some will handle it, well, but most won't.)

axelboc commented 11 months ago

Just came across this shared deck that enhances UG with English audio pronunciation for countries and capitals: https://ankiweb.net/shared/info/1878034191 🎉