AwesomeTTS / awesometts-anki-addon

AwesomeTTS text-to-speech add-on for Anki
GNU General Public License v3.0
478 stars 99 forks source link

Longman pronunciations #169

Open rukatan opened 3 years ago

rukatan commented 3 years ago

Dear developers of AwesomeTTS,

I love your add-on.

I wanted to ask you if it were possible to add also British English and American English pronunciations from the Longman dictionary (https://www.ldoceonline.com/), as you already do for the Cambridge and Oxford ones.

Although it is true that these already provide the 2 pronunciations, I believe it is better to have (also) the Longman ones. Here is the rationale: the best Pronunciation Dictionary of English in circulation is the Longman's one. There may be some debate about it, but it is nowadays undebated that its curator (Prof. John Wells) is the foremost authority in the field. Pronunciation dictionaries have some differences between them: this is normally limited to a certain amount of words, but there are.

The point is, that the recordings used in the Pronunciation Dictionary, and the ones provided in the Longman Online Dictionary are the same (I checked this by inspection). True, the Pronunciation Dictionary contains several more words (i.e. proper names, cities, ...), but for learners of English, the most common words are the most important ones, and they are available in the Online Dictionary.

Long story short, for people learning also with the Longman Pronunciation Dictionary, the addition of the Longman’s recordings would be even more helpful.

luc-vocab commented 3 years ago

It's possible but of course this would only work for decks which are made up of vocabulary only, without any sentences. In my case, a huge majority of my decks are full sentences, so retrieving pronunciations from a dictionary wouldn't work.

Sowa0 commented 3 years ago

I agree, it would be great to add audio from the Longman Dictionary of English (LDCOE). Simple html web scrapping works as the url of the mp3 is available in the html.

<span data-src-mp3="https://www.ldoceonline.com/media/english/breProns/contemporary_n0205.mp3?version=1.2.30" class="speaker brefile fas fa-volume-up hideOnAmp" title="Play British pronunciation of ##contemporary">&nbsp;</span>

<span data-src-mp3="https://www.ldoceonline.com/media/english/ameProns/contemporary1.mp3?version=1.2.30" class="speaker amefile fas fa-volume-up hideOnAmp" title="Play American pronunciation of contemporary">&nbsp;</span>

luc-vocab commented 3 years ago

Thank you for the suggestion. I am planning a re-write of AwesomeTTS which will allow adding/testing services much more easily. Will update with more information.

luc-vocab commented 4 weeks ago

are yoeu still interested in this Longman dictionary if I implement a service for it in HyperTTS ?

Sowa0 commented 4 weeks ago

I personally do not need it and use HyperTTS for other languages but I think it would be good to offer that option since Longman is one of the major dictionaries used by English learners