ThoreBor / CC-CEDICT-for-Anki

Anki 2.1 add-on
MIT License
14 stars 5 forks source link

Cantonese support #11

Closed ddcc closed 3 years ago

ddcc commented 4 years ago

Would it be possible to add cantonese support using the CC-Canto, including jyutping? I don't know if it'd be better to have both in the same extension, or separate ones.

ThoreBor commented 4 years ago

The link doesn't work for me. Do you mean this: https://cantonese.org/download.html ?

ddcc commented 4 years ago

Oops, yeah, that's what I meant.

ThoreBor commented 4 years ago

Alright. It looks like I wouldn't have to change much to make it work. I have to update the add-on anyway (probably in early October) so I'll see if I include it, or make a separate new add-on for it.

ThoreBor commented 4 years ago

When making the database for the cc-cedict dictionary I converted the pinyin + numbers to pinyin with tone marks. Ex: 一九九七年 一九九七年 [yi1 jiu3 jiu3 qi1 nian2] /Year 1997/ to 一九九七年 一九九七年 [yījiǔjiǔqīnián] /Year 1997/ Is there a similar conversion for {jat1 gau2 gau2 cat1 nin4} or is it usually just with numbers?

ddcc commented 4 years ago

Nope, just with numbers. Thanks!

ThoreBor commented 3 years ago

Hi, sorry for the delay. I decided to make a new add-on for this, instead of including it in this one. You can check it out here and download a pre-release here. You just have to download the .ankiaddon file and open it to install the add-on. Keep in mind that I don't speak nor learn Cantonese, so please let me know if I have to change something or just what you think in general.

ddcc commented 3 years ago

No problem, thanks for creating the new add-on! I'll try it and get back to you.

ddcc commented 3 years ago

I've tried it and reported a couple of bugs in https://github.com/ThoreBor/CC-Canto-for-Anki/issues/1.