lexico icon indicating copy to clipboard operation
lexico copied to clipboard

Add links to US and UK audio pronunciations

Open kshitij10496 opened this issue 8 years ago • 3 comments
trafficstars

Currently, only the link to US pronunciation is displayed. Explore Wordnik API for relevant options.

kshitij10496 avatar Nov 15 '17 13:11 kshitij10496

From Wordnik Developer - API Docs

Currently only audio pronunciations from the American Heritage Dictionary in mp3 format are supported.

Possible options are:

  1. Macmillan Dictionary API
  2. Oxford Dictionaries API

priyanshsaxena avatar Dec 17 '17 06:12 priyanshsaxena

@kshitij10496 I am looking to use Merriam-Webster Collegiate Audio Pronunciation API for adding the relevant pronunciation. This would require adding my API key to config.json file. I am planning to change the *_api_key methods in utils.py. What is your opinion on this ?

priyanshsaxena avatar Dec 20 '17 05:12 priyanshsaxena

I was thinking of labeling the API response from Wordnik as US or UK pronunciation. Merriam-Webster API is not developer friendly due to the use of XML. Moreover, I don't see the distinction between pronunciation type in that API as well.

Since this is a low priority feature, we can skip it for now and work on the more demanding issues.

kshitij10496 avatar Dec 20 '17 08:12 kshitij10496