ninja33 / ODH

A chrome extension to show online dictionary content.
MIT License
1.43k stars 244 forks source link

Update Cambridge script #185

Closed z-gong closed 3 years ago

z-gong commented 3 years ago

Fixed a US phonetic issue -- The phonetic for US pronunciation is incorrect when there are several different UK pronunciations. For example, 'adverse'. https://dictionary.cambridge.org/dictionary/english-chinese-simplified/adverse

Allowed for adding different part-of-speeches into one entry -- For example, when lookup 'increase', you can either add the definitions for noun form or the verb form, but not both. This update allows both the noun form and verb form to be added in a single entry. Though it's not perfect for now. Because ODH does not have the mechanism to record pronunciation for each part-of-speech in a single entry, the pronunciation for other part-of-speeches will be recorded as a definition.

Removed Youdao. -- I don't understand why Youdao appears in the Cambridge script. It's much less accurate than Cambridge definitions and makes the script slower.

Here shows the snapshots before and after this update. If you think these modifications are reasonable, I can also update the Cambridge_tc version accordingly.