Closed ttempe closed 10 years ago
Actually, it may be preferable to use "fill missing", to better fit the needs of various users. Incidentally, it could also be used to fill pronunciation (TTS) for when you added cards without a connection to Google TTS.
I'm reluctant because it will make it so easy for users to make mistakes like adding dictionary definitions without any trimming or editing (you can't learn a word if it has a 3-lines-long definition), but I understand the need.
i'm starting some work on this for filling missing sounds to begin with. it then should be easy to adapt to fill readings, or even fill all ... i'll create a pull request when it's done.
fill missing sounds working in branch -> https://github.com/chatch/chinese-support-addon/tree/fill_sounds
still requiring testing on a large deck...
Le 09/07/13 21:32, Chris Hatch a écrit :
fill missing sounds working in branch -> https://github.com/chatch/chinese-support-addon/tree/fill_sounds
still requiring testing on a large deck...
— Reply to this email directly or view it on GitHub https://github.com/ttempe/chinese-support-addon/issues/31#issuecomment-20673775.
Hi Chris, and sorry for the delay. I've been unreasonably busy since I started my new job, and I haven't taken the time to work on Anki (on anything else, for that matter).
Thanks a lot for your contribution. I've tried it out, and it seems to be working just fine, and pretty fast, too. It won't give feedback when it's failing, but we can keep that for later.
Please make a pull request, so you can get credit for your contribution in Github. Also, be careful, you left my name at the top of fill_missing.py.
Yours sincerely,
Thomas TEMPE
Great stuff. Ok I've just patched fill_missing and created a pull request. Cheers, Chris.
Perfect, it's in 0.7.6. Thanks a lot.
If you create card by card, it will work perfectly, but if you import a .txt file with cards formatted using the semicolon division, it won't add the readings. It will add them only in a certain way, which is tedious and cumbersome. If you want to reproduce the "problem" do the following:
The fact is that if you start having 200, 500, 2000 cards it starts to get tedious. Can we get a Bulk-add readings?