Bỏ qua đến nội dung

CC-CEDICT for Anki (Chinese dictionary)

Chờ xử lý #anki #addon #cedict #for #chinese #dictionary
https://github.com/ThoreBor/CC-CEDICT-for-Anki
23/3/2022

Cách tải addon CC-CEDICT for Anki (Chinese dictionary)

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

418828045

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 418828045 và copy

13

Mô tả chi tiết

This add-on allows you to search the CC-CEDICT dictionary and automatically add cards to your decks. Go to Tools>CC-CEDICT for Anki to start the add-on (Ctrl+D).

Change log: v1.4.1 (23.03.2022):

  • fixed bug when there are no results

v1.4 (21.03.2022):

  • added tag auto complete + save
  • added support for future Anki versions
  • changed double click select to single click
  • fixed no commas on card bug
  • fixed cursor not in search field
  • updated dictionary

v1.3 (03.09.2021):

  • added support to search for multiple words at once (separated by a comma)
  • added auto detections for input (Simplified, Traditional, or English)
  • added option to add tags
  • added option to color pinyin
  • updated dictionary

v1.2 (14.02.2020):

  • Save config bug fix
  • Removed update-checker, because Anki 2.1.20 does it automatically
  • Dictionary update

v1.1 (21.01.2020):

  • Customization for adding cards
  • Settings are automatically saved
  • Results are selectable (e.g. Ctrl+C)
  • Minor UI changes
  • Minor bug fixes

The code for the add-on is available on GitHub. It is licensed under the MIT License.


Screenshots


Liên kết hỗ trợ


Reviews (13)

👍 2025-10-26

Hi I’m add-ons developer Shige, I fixed this add-on and uploaded it to AnkiWeb. 🐼Chinese Dictionary CC-CEDICT (Fixed by Shigeඞ) https://ankiweb.net/shared/info/1563780834

👍 2025-04-24

I fixed it, but had to do some amateur python scripting. In main.py, I replaced “QDialog.init(self, parent, Qt.Window)” with “QDialog.init(self, parent, Qt.WindowType.Window)” and instances of “Qt.AlignLeft” with “ReplaceQt.AlignmentFlag.AlignLeft”. After making these changes and restarting Anki, I’m able to open the tool window. However, the stability of my patch remains to be seen. Someone who actually knows what they are doing may need to take a once over on this plugin.

👍 2023-10-29

I’m glad this dictionary exists!

For anyone who’s encountering the “Each field can only be used once” error, you can resolve this by using the Chinese Vocab Notetype (or any note type that has at least 4 different fields, so that pinyin, simplified, etc. can all be placed in a different location on the card.

👍 2023-07-11

cuts the time I need to create my vocabulary, thx

👍 2022-03-02

Thanks for your work on this add-on, it is very useful.

Is it possible to preserve the field tag? for example, I would like to tag all notes added from the add-on with a specific tag, so that I can see which notes were added from it in the browser.

This would be useful as I found it sometimes add duplicates if at least one field is slightly different, for example the same word added from another app might have a different definition field/formatting, even if hanzi and pinyin are exactly t

👍 2021-11-11

Great and much needed addon, thanks!

Can the batch function be added to it?

I.e. when you have a list of words inside Anki (the cards with only headword available), to batch add to them translation, reading, examples etc from the Cedict.

Also the auto filling of the fields would be very handy, when you input the heading into the first field and the other fields are filled automatically.

Please also make it possible to input many words not only comma separated (as now, which works just terr

👍 2021-10-23

I got an error of each field can be only used once. May I know how to fix this?

👍 2021-09-20

I just got this add-on and it looks perfect for what I want, but every time I get this error:

Error

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.

If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.

When you’ve discovered the add-on that is causing the pro

👍 2021-09-14

Worked fine when first starting it however as soon as I used a different note type for the cards, the following error was generated.

"""

Error

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.

If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.

When you’ve disco

👍 2021-07-28

Works really well. I was getting sick of copying and pasting from online dictionaries to add new cards. This will save a lot of time.

Two things that would make it perfect: If the pinyin could be styled by tone like the HSK deck: https://ankiweb.net/shared/info/1855818143

and

If tags could be inserted from the card creation dialogue.

I’ll make those feature requests on Github.

👍 2021-01-20

This is a great help! thanks. Quick question, is it possible to select more than one result to add to a deck all at one time? Based on the notes above, I tried “Control+C” but that did not work. Again, thanks for your work on this!

👍 2020-12-01

It worked only with 3 words and it doesn’t work anymore.

Can you please help me with this problem? Comment from author What exactly doesn’t work? Does searching them doesn’t work, or adding them…? Do you get an error message?

👍 2020-04-01

Fantastic add on! Would be even better if there was an option to select tags when creating cards.