cschiller / zhongwen

Official source code of the "Zhongwen" Chrome extension
https://chrome.google.com/webstore/detail/zhongwen-chinese-english/kkmlkkjojmombglmlpbpapmhcaljjkde
GNU General Public License v2.0
312 stars 52 forks source link

Request: Please list definitions in order of most common to least common #79

Closed kongming819 closed 3 years ago

kongming819 commented 3 years ago

Very many times, something like this happens in the add-on:

image

The most common use of the character is at the bottom, whereas the really esoteric, obscure definition is at the top. This is counter-productive for Chinese language learners, as people often gravitate towards the first listed definition.

kongming819 commented 3 years ago

Another thing is that surnames are often listed first, along with the more esoteric definition image

While listing surname first is not such a big deal, it can be confusing for some of the more common words, such as 从 and 加. Such as: image

Also this: image

This one has the correct order of definitions: image

On a semi-related note, there's another kind of order issue where something like this happens: image Listing variants first, none of which are the character highlighted. Great to see when there is actually a variant in question, but very distracting and quite confusing when all I want is just the definition.

This one is correct: image (Why is this one correct but not the other?)

Then in other cases: image Only lists the variant with no definition.

Here's an example that combines both: image Not only does it give a variant that is not relevant, it also puts the definition on the bottom

cschiller commented 3 years ago

Zhongwen displays entries from the built-in CC-CEDICT dictionary. In its current form, CC-CEDICT does not provide the extra information that would be necessary for ranking the entries as you described. So unfortunately there's no way to tell how the entries should be reordered.